Add URL fragment
This commit is contained in:
parent
ac8eccd035
commit
5206518a75
|
@ -1731,7 +1731,7 @@ char *nsurl_access_utf8(const nsurl *url)
|
||||||
return strdup(url->string);
|
return strdup(url->string);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nsurl_get(url, NSURL_PORT | NSURL_PATH | NSURL_QUERY,
|
if (nsurl_get(url, NSURL_PORT | NSURL_PATH | NSURL_QUERY | NSURL_FRAGMENT,
|
||||||
&path, &path_len) != NSERROR_OK) {
|
&path, &path_len) != NSERROR_OK) {
|
||||||
return strdup(url->string);
|
return strdup(url->string);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue