Files
WRNexusJS/docs
ClintchizandClaude Opus 5 798f56734a docs: stop double-encoding redirectTo in the Task 7 plan snippet
The previous fix used encodeURI to keep a non-ASCII redirect target from
throwing inside new Response. But encodeURI also escapes "%", so an
already-percent-encoded target is corrupted: /login?next=%2Fdash becomes
/login?next=%252Fdash, which single-decodes to the literal "%2Fdash" rather
than the intended path. That is the most common real use of redirectTo -
"send them to login, then bounce back".

Replaced with headerSafePath, a codepoint loop that encodes only what cannot
be sent in a Latin-1 header and leaves existing escapes and reserved ASCII
untouched. My prescription, my defect.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-04 19:07:15 +05:30
..
2026-08-01 01:09:58 +05:30
2026-07-22 17:29:08 +05:30
2026-07-27 12:42:18 +05:30
2026-07-22 17:29:08 +05:30
2026-07-29 12:51:10 +05:30
2026-07-29 12:51:10 +05:30
2026-08-02 23:18:51 +05:30
2026-07-27 12:42:18 +05:30
2026-08-02 23:18:51 +05:30
2026-08-02 23:18:51 +05:30
2026-08-02 23:18:51 +05:30
2026-08-02 23:18:51 +05:30
2026-08-02 23:18:51 +05:30
2026-08-02 23:18:51 +05:30
2026-07-22 17:29:08 +05:30
2026-07-27 12:42:18 +05:30
2026-07-22 17:29:08 +05:30
2026-07-27 12:42:18 +05:30
2026-08-03 19:47:30 +05:30
2026-08-04 12:19:09 +05:30