git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] gitweb: escape searchtext and parameters for replay

From
JJ.H. <warthog19@eaglescrag.net>
Date
Apr 29, 2009, 23:11 UTC
Message-ID
<49F8DEB4.40909@eaglescrag.net>
In-Reply-To
<200904292136.36987.jnareb@gmail.com>
Jakub Narebski wrote:
Show 25 quoted lines
> On Wed, 29 Apr 2009, Jakub Narebski wrote:
>> On Wed, 29 Apr 2009, Olaf Hering wrote:
>>> Am 29.04.2009 um 14:28 schrieb Jakub Narebski: 
>>>> On Wed, 29 April 2009, Michael J Gruber wrote:
>>>>>> It should be s=torvalds%40linux instead of s=torvalds\@linux
>>>> If you by hand edit URL changing '\@' to simply '@', does changed
>>>> gitweb URL works correctly?
>>> I tried akpm@osdl.org, and @ and . was escaped with a backslash.
>>> Removing both, and using the plain mail address worked.
>> This problem was fixed in 7e431ef (gitweb: Separate search regexp from 
>> search text), but this fix is present in git 1.5.2 and later,
> 
> I have just checked that current gitweb (1.6.2.rc1.20.g8c5b)
> does not have this bug...
> 
>> and kernel.org gitweb is a fork (adding caching mechanism) of
>> 1.4.5-rc0 (according to info in git.kernel.org HTML source), and
>> it does not have this fix.
>>
>>   http://git.kernel.org/?p=git/warthog9/gitweb.git;a=summary
>>
>> I have CC-ed J.H. on this.
> 
> ... so J.H., or Lea Wiemann, or whoever manages gitweb on kernel.org
> should backport this fix to kernel.org's fork of gitweb sources.

Patches, as always, are welcome - I've got a few queued up already, but if I have to do it I won't be getting back around to it for a bit (there are other things on my priority list right now).

- John "Warthog9" Hawley
Previous: Michael J GruberNext: Jakub Narebski
Message 8 of 9 in “Invalid search parameter in webinterface”
  1. Olaf HeringApr 29, 2009
  2. gitweb: escape searchtext and parameters for replayMichael J Gruber, Apr 29, 2009
  3. Jakub NarebskiApr 29, 2009
  4. Olaf HeringApr 29, 2009
  5. Jakub NarebskiApr 29, 2009
  6. Jakub NarebskiApr 29, 2009
  7. Michael J GruberApr 29, 2009
  8. J.H.Apr 29, 2009
  9. gitweb: Separate search regexp from search textJakub Narebski, Apr 30, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.