git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Better unquoting of git quoted filenames; esc_path to escape pathnames for display
@ 2006-11-08 10:47 Jakub Narebski
  2006-11-08 10:48 ` [PATCH 1/2] gitweb: Better git-unquoting and gitweb-quoting of pathnames Jakub Narebski
  2006-11-08 10:50 ` [PATCH 2/2] gitweb: Use character or octal escape codes (and add span.cntrl) in esc_path Jakub Narebski
  0 siblings, 2 replies; 16+ messages in thread
From: Jakub Narebski @ 2006-11-08 10:47 UTC (permalink / raw)
  To: git

This series fixes unquote so that it can deal with alphabetic escape
sequences like '\n' and '\t', and escaped literal characters like '\"'
and '\\', and adds esc_path do deal with the fact that unquoted 
filenames can now contain control characters, not suitable for HTML.
Previous version of unquote was broken in that it did only octal
escape sequence unquoting, and could leave filename only partially
unquoted.

First patch adds minimal esc_path, second improves esc_path to final
version.

Shortlog:
 [PATCH 1/2] gitweb: Better git-unquoting and gitweb-quoting of pathnames
 [PATCH 2/2] gitweb: Use character or octal escape codes (and add span.cntrl) in esc_path

Diffstat:
 gitweb/gitweb.css  |    7 ++++
 gitweb/gitweb.perl |   95 +++++++++++++++++++++++++++++++++++++++++----------
 2 files changed, 83 insertions(+), 19 deletions(-)

-- 
Jakub Narebski

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2006-11-08 21:54 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-08 10:47 [PATCH 0/2] Better unquoting of git quoted filenames; esc_path to escape pathnames for display Jakub Narebski
2006-11-08 10:48 ` [PATCH 1/2] gitweb: Better git-unquoting and gitweb-quoting of pathnames Jakub Narebski
2006-11-08 10:50 ` [PATCH 2/2] gitweb: Use character or octal escape codes (and add span.cntrl) in esc_path Jakub Narebski
2006-11-08 16:58   ` [PATCH 0/2] gitweb: New improved patchset view Jakub Narebski
2006-11-08 16:59     ` [PATCH 1/2] " Jakub Narebski
2006-11-08 18:27       ` Junio C Hamano
2006-11-08 18:57         ` Junio C Hamano
2006-11-08 19:04           ` Jakub Narebski
2006-11-08 18:41       ` [PATCH 1/2 (amend)] " Jakub Narebski
2006-11-08 17:00     ` [PATCH 2/2] gitweb: New improved formatting of chunk header in diff Jakub Narebski
2006-11-08 20:41       ` Junio C Hamano
2006-11-08 20:58         ` Jakub Narebski
2006-11-08 21:41           ` Junio C Hamano
2006-11-08 21:55             ` Jakub Narebski
2006-11-08 18:24   ` [PATCH 2/2] gitweb: Use character or octal escape codes (and add span.cntrl) in esc_path Junio C Hamano
2006-11-08 18:56     ` Jakub Narebski

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).