summaryrefslogtreecommitdiff
path: root/ui-snapshot.h
diff options
context:
space:
mode:
authorMark Lodato <lodatom@gmail.com>2010-02-09 10:12:43 -0500
committerMark Lodato <lodatom@gmail.com>2010-02-09 10:12:43 -0500
commita2c6355f9fdede78ce46aeee39ef649637aaadf9 (patch)
tree4ed595f688691e7a35c5684ca59164bcc777b74c /ui-snapshot.h
parent8aab27f24de70acfbdcee31c634a4b1facf23b92 (diff)
downloadcgit-a2c6355f9fdede78ce46aeee39ef649637aaadf9.tar.gz
cgit-a2c6355f9fdede78ce46aeee39ef649637aaadf9.tar.bz2
cgit-a2c6355f9fdede78ce46aeee39ef649637aaadf9.zip
html: properly percent-escape URLs
The only valid characters for a URL are unreserved characters a-zA-Z0-9_-.~ and the reserved characters !*'();:@&=+$,/?%#[] , as per RFC 3986. Everything else must be escaped. Additionally, the # and ? always have special meaning, and the &, =, and + have special meaning in a query string, so they too must be escaped. To make this easier, a table of escapes is now used so that we do not have to call fmt() for each character; if the entry is 0, no escaping is needed. Signed-off-by: Mark Lodato <lodatom@gmail.com>
Diffstat (limited to 'ui-snapshot.h')
0 files changed, 0 insertions, 0 deletions
54:11 +0200'>2010-07-05Only show right nav arrow, if the following month is not in the futureRené 'Necoro' Neumann2-14/+20 2010-07-05Add month navigationRené 'Necoro' Neumann6-5/+35 2010-07-05Add iconRené 'Necoro' Neumann2-1/+2 2010-07-05change cursorRené 'Necoro' Neumann1-0/+5 2010-07-05Some restructuringRené 'Necoro' Neumann3-28/+45 2010-07-05Closed/Open imagesRené 'Necoro' Neumann4-0/+146 2010-05-25Move page templates into their own folderRené 'Necoro' Neumann5-5/+7 2010-05-25Added the ability to edit an expenseRené 'Necoro' Neumann3-9/+34 2010-05-12FixRené 'Necoro' Neumann1-2/+2 2010-05-12Show more detailsRené 'Necoro' Neumann4-19/+42 2010-05-12Create new form each timeRené 'Necoro' Neumann1-24/+26 2010-05-10Fix redirect in AddRené 'Necoro' Neumann1-1/+1 2010-05-10Added the 'add expense' stuffRené 'Necoro' Neumann4-3/+69