List for cgit developers and users
 help / color / mirror / Atom feed
* Pull request: Fix escaping of paths with spaces
@ 2011-04-10 11:17 ME
  0 siblings, 0 replies; only message in thread
From: ME @ 2011-04-10 11:17 UTC (permalink / raw)


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






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-10 11:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-10 11:17 Pull request: Fix escaping of paths with spaces ME

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).