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