| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 272fd2e commit 07e4ba2
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -883,7 +883,7 @@ Url.prototype.resolveObject = function resolveObject(relative) { | |||
| 883 | 883 | ||
| 884 | 884 | // if the path is allowed to go above the root, restore leading ..s | |
| 885 | 885 | if (!mustEndAbs && !removeAllDots) { | |
| 886 | - for (; up--; up) { | ||
| 886 | + while (up--) { | ||
| 887 | 887 | srcPath.unshift('..'); | |
| 888 | 888 | } | |
| 889 | 889 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments