Don't trim serialized query part of URL
This commit is contained in:
parent
60cee7fd2f
commit
78b2b5ccc3
1 changed files with 1 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ function relativeURLFix() {
|
||||||
// append trailing slash to resource only if there is no file extension
|
// append trailing slash to resource only if there is no file extension
|
||||||
newHref += url.pathname.endsWith('/') ? '' : '/';
|
newHref += url.pathname.endsWith('/') ? '' : '/';
|
||||||
}
|
}
|
||||||
|
newHref += url.search || '';
|
||||||
newHref += url.hash || '';
|
newHref += url.hash || '';
|
||||||
} else {
|
} else {
|
||||||
// leave this URL alone
|
// leave this URL alone
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue