Hi, When parsing outputs from lore.kernel.org with Python3 xml.dom.minidom I noticed that, for queries that contain '&' characters, they aren't escaped in the href attributes of the title tags in atom feed headers.
So, for example, for this request: https://lore.kernel.org/all/?x=A&q=driver+core%3A+Fix+wait_for_device_probe%28%29+%26+deferred_probe_timeout+interaction The atom header in the output contains: <title type="html">driver core: Fix wait_for_device_probe() & deferred_probe_timeout interaction - search results</title><link rel="alternate" type="text/html" href="http://lore.kernel.org/all/?q=driver+core:+Fix+wait_for_device_probe()+&+deferred_probe_timeout+interaction"/><link rel="self" href="http://lore.kernel.org/all/?q=driver+core:+Fix+wait_for_device_probe()+&+deferred_probe_timeout+interaction&x=A"/> where the '&' character is escaped in the text of the <title> tag but not in the href attributes. Shouldn't these be escaped as well? If so, the fix should be most likely located in WwwAtomStream.pm:atom_header(). Cheers, Ricardo