2
0
Fork 0

Allow more characters in url

personal/stbuehler/wip
Stefan Bühler 2009-01-13 13:48:03 +01:00
parent 13f749aa74
commit a91d5e96b9
1 changed files with 4 additions and 1 deletions

View File

@ -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 | "+" | "-" | "." );