Skip to content

PRO-8268: do the URL encoding work before Astro.redirect sees the URL - #5061

Merged
boutell merged 1 commit into
mainfrom
pro-8268
Sep 8, 2025
Merged

PRO-8268: do the URL encoding work before Astro.redirect sees the URL#5061
boutell merged 1 commit into
mainfrom
pro-8268

Conversation

@boutell

@boutell boutell commented Sep 8, 2025

Copy link
Copy Markdown
Member

We do it with encodeurl because that is what Express does (I checked the source). That module drives defensively, it doesn't re-encode what is already encoded, so I don't want to do the naive thing and just call encodeURI instead.

@boutell
boutell requested a review from BoDonkey September 8, 2025 14:37
@linear

linear Bot commented Sep 8, 2025

Copy link
Copy Markdown

const menu = [ ...this.contextMenuOptions.menu ];
const createWidgetOperations = filterCreateWidgetOperations(this.moduleOptions, this.options);
const createWidgetOperations = filterCreateWidgetOperations(
this.moduleOptions,

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unrelated lint

@boutell
boutell merged commit 57a4371 into main Sep 8, 2025
6 checks passed
@boutell
boutell deleted the pro-8268 branch September 8, 2025 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants