Fix another bug in same-host?
parent
88c59b1639
commit
a2a1a51765
|
@ -99,8 +99,12 @@ M: object modify-form drop ;
|
||||||
|
|
||||||
: same-host? ( url -- ? )
|
: same-host? ( url -- ? )
|
||||||
dup [
|
dup [
|
||||||
url get
|
url get [
|
||||||
[ [ protocol>> ] [ host>> ] [ port>> ] tri 3array ] bi@ =
|
[ protocol>> ]
|
||||||
|
[ host>> ]
|
||||||
|
[ port>> remap-port ]
|
||||||
|
tri 3array
|
||||||
|
] bi@ =
|
||||||
] when ;
|
] when ;
|
||||||
|
|
||||||
: cookie-client-state ( key request -- value/f )
|
: cookie-client-state ( key request -- value/f )
|
||||||
|
|
Loading…
Reference in New Issue