Skip to content

Commit 4b058fa

Browse files
committed
FIX: HTTP scheme redirect was not correctly dealing with port id
1 parent 40b9e5c commit 4b058fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mezz/prot-http.r

+1-1
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ do-redirect: func [port [port!] new-uri [url! string! file!] /local spec state]
458458
spec: port/spec
459459
state: port/state
460460
if #"/" = first new-uri [
461-
new-uri: to url! ajoin [spec/scheme "://" spec/host new-uri]
461+
new-uri: to url! ajoin [spec/scheme "://" spec/host #":" spec/port-id new-uri]
462462
]
463463
new-uri: decode-url new-uri
464464

0 commit comments

Comments
 (0)