[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cgit
Subject:    Pull request: Fix escaping of paths with spaces
From:       ME () JONATHONMAH ! COM (Jonathon Mah)
Date:       2011-04-10 11:17:03
Message-ID: 48082E4B-8786-4215-A0B8-B58877EF02E9 () JONATHONMAH ! COM
[Download RAW message or body]

Hi folks,

I have a fairly important commit to fix the escaping of tree paths with spaces. \
Currently, a tree link to a path with a space contains a NUL due to a string overrun! \
I've changed html_url_path to escape spaces as %20, and left html_url_arg escaping \
them as +. Someone more experienced needs to check this over.

Commit:
<https://github.com/jmah/cgit/commit/ac88deacf1eed402a0cbf88956012a892b4003ab>
Branch:
https://github.com/jmah/cgit/commits/fix-escape




Jonathon Mah
me at JonathonMah.com


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic