Skip to content

Conversation

@jnunemaker
Copy link
Collaborator

Fixes #901. Likely fixes all the rack protection issues people have. I realized that rack protection includes several things by default unless you exclude them. My bad. I thought I was only "use"-ing authenticity token. Hopefully this fixes some issues for others because now that is all I'm using.

Before it was escaping everything passed to redirect and thus only using escape_path. But I need it all escaped so I can start making ../../ work.
I only ever wanted to use rack protection authenticity token and thought that is what I was doing. I now realize they include several by default unless you explicitly turn them off. Instead i'm just going to include what i want which is auth token stuff.
@jnunemaker jnunemaker self-assigned this Feb 19, 2025
@jnunemaker jnunemaker merged commit 3683318 into main Feb 19, 2025
92 checks passed
@jnunemaker jnunemaker deleted the escape-ui-keys branch February 19, 2025 16:17
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.

Sillily named feature flags break flipper-ui (e.g. ../../something) with flipper-active_record (and perhaps other backend adapters)

2 participants