Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcd613e5

Browse files
committed
test: handle relative https redirect
Fix `internet/test-inspector-help-page` to handle the relativeredirect of `https://nodejs.org/en/docs/inspector` to`/en/docs/guides/debugging-getting-started`. Previously thisURL redirected to an absolute URL.PR-URL:#51121Reviewed-By: Luigi Pinca <luigipinca@gmail.com>Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
1 parent7bea2d7 commitcd613e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎test/internet/test-inspector-help-page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function check(url, cb) {
1818
assert(res.statusCode>=200&&res.statusCode<400);
1919

2020
if(res.statusCode>=300)
21-
returncheck(res.headers.location,cb);
21+
returncheck(newURL(res.headers.location,url),cb);
2222

2323
letresult='';
2424

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp