Add URL fragment

This commit is contained in:
Chris Young 2015-07-20 19:23:54 +01:00
parent ac8eccd035
commit 5206518a75
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }