Merge pull request #282 from Bob620/support-more-uri

Support more valid uri
This commit is contained in:
Evan Miller
2021-03-25 08:23:53 -04:00
committed by GitHub

View File

@@ -112,7 +112,7 @@ strptime { return STRPTIME; }
(-?[0-9]+|(-?[0-9]*\.[0-9]+)(e[-+]?[0-9]+)?) {
yylval->name = g_strdup(yytext); return NUMBER;
}
~?(\/?[a-z0-9\.\-\xa0-\xff]+)+ {
~?(\/?[a-z0-9\.\-\_\!\~\'\(\)\%\xa0-\xff]+)+ {
yylval->name = g_strdup(yytext); return PATH;
}