Patch Changes
-
#16797
1e1752eThanks @lokeshramchand-ctrl! - Restrict the/.update-preview-tokenredirect to same-origin pathsPreviously, the
suffixquery parameter was copied into theLocationheader unchanged, so the endpoint could redirect the browser to any other site (for examplehttps://…,//…or/\…). Thesuffixis now resolved against the request URL, and anything that would leave the current origin falls back to/.