shabiel/Kernel-GTM

XTHC10: Intersystems Cache bug: XT8REQUEST.Location escapes URLS incorrectly

shabiel opened this issue · 0 comments

CACHEVISTA 4e1>W PATH 
/see/dhp-vista*?format=json
CACHEVISTA 4e1>W XT8REQUEST.Location
/see/dhp-vista*%3Fformat%3Djson

To replicate:

S XT8REQUEST=##class(%Net.HttpRequest).%New()
S XT8REQUEST.Port=80
S XT8REQUEST.Server="138.197.147.128"
S XT8REQUEST.Location="/see/dhp-vista*?format=json"
W XT8REQUEST.Location