Allow more characters in url

personal/stbuehler/wip
Stefan Bühler 15 years ago
parent 13f749aa74
commit a91d5e96b9

@ -36,8 +36,11 @@
reserved = gen_delims | sub_delims;
unreserved = alpha | digit | "-" | "." | "_" | "~";
# many clients don't encode these, e.g. curl, wget, ...
delims = "<" | ">" | "#" | "%" | '"';
unwise = " " | "{" | "}" | "|" | "\\" | "^" | "[" | "]" | "`";
pchar = unreserved | pct_encoded | sub_delims | ":" | "@";
pchar = unreserved | pct_encoded | sub_delims | ":" | "@" | delims | unwise;
path = ("/" ( "/" | pchar)*) >mark %save_path;
# scheme = alpha *( alpha | digit | "+" | "-" | "." );

Loading…
Cancel
Save