mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-04-05 20:31:00 +08:00
libmdbsql: Allow all special characters from valid URIs in paths
This commit is contained in:
parent
05a1492eef
commit
d05c86fa3d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user