Skip to content

address joiner and tags in set-cookies - #8808

Merged
jackkav merged 3 commits into
Kong:developfrom
jackkav:patch-joiner
Jun 27, 2025
Merged

jackkav merged 3 commits into
Kong:developfrom
jackkav:patch-joiner

Conversation

@jackkav

@jackkav jackkav commented Jun 19, 2025 •

Copy link
Copy Markdown
Contributor
  • makes safe set cookie values by removing interpolation symbols
  • removes joiner from nunjucks globals list

I chose to remove symbols as a light touch, in the more heavy approach of parsing the cookie and encoding and decoding which could lead to undesirable side effects.

@jackkav jackkav changed the title patch out nunjucks oiner global patch out nunjucks joiner global Jun 19, 2025
@jackkav
jackkav marked this pull request as ready for review June 19, 2025 09:26
@jackkav
jackkav force-pushed the patch-joiner branch 4 times, most recently from f51ee4b to 74f8ace Compare June 20, 2025 13:20
@jackkav jackkav changed the title patch out nunjucks joiner global address nunjucks security findings Jun 26, 2025
@jackkav
jackkav requested a review from a team June 26, 2025 13:15
@jackkav jackkav changed the title address nunjucks security findings address joiner and tags in set-cookies Jun 27, 2025
@jackkav
jackkav merged commit 0bef406 into Kong:develop Jun 27, 2025
@jackkav
jackkav deleted the patch-joiner branch June 27, 2025 13:32
RoamingLost pushed a commit to RoamingLost/insomnia that referenced this pull request Aug 6, 2025
* patch out jnunjucks oiner global

* sanitize set cookie input

* remove interpolation symbols
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