Better unquoting of git quoted filenames; esc_path to escape pathnames for display
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | gitweb: Better git-unquoting and gitweb-quoting of pathnamesgitweb/ | +53 | 0 replies | |
| 1/2 | gitweb: New improved patchset viewgitweb/ gitweb/ | +173 | 0 replies | |
| 1/2 | gitweb: New improved patchset viewgitweb/ gitweb/ | +80 | 3 replies | |
| 2/2 | gitweb: Use character or octal escape codes (and add span.cntrl) in esc_pathgitweb/ gitweb/ | +31 | 3 replies | |
| 2/2 | gitweb: New improved formatting of chunk header in diffgitweb/ gitweb/ | +30 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Better unquoting of git quoted filenames; esc_path to escape pathnames for display
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(-)
Signature · 1 line
Jakub Narebski