mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Fix query-part parsing in file: URIs (local CGI).
It was broken in 0.11.2.GIT (a64dd281e9
).
Since then, $QUERY_STRING has been empty for <file:///foo/bar?query>.
uri.data is documented as containing both the path and the query.
[ Commit message by me. --KON ]
This commit is contained in:
parent
6cd6a843d1
commit
e96665134a
@ -149,7 +149,7 @@ static int
|
||||
check_uri_file(unsigned char *name)
|
||||
{
|
||||
/* Check POST_CHAR etc ... */
|
||||
static const unsigned char chars[] = POST_CHAR_S "#?";
|
||||
static const unsigned char chars[] = POST_CHAR_S "#";
|
||||
|
||||
return strcspn(name, chars);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user