René's URL Explorer Experiment


Title: fix(backend): Do not throw URIError when a cookie has a malformed percent-escape by kev-flex · Pull Request #9345 · clerk/javascript · GitHub

Open Graph Title: fix(backend): Do not throw URIError when a cookie has a malformed percent-escape by kev-flex · Pull Request #9345 · clerk/javascript

X Title: fix(backend): Do not throw URIError when a cookie has a malformed percent-escape by kev-flex · Pull Request #9345 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - fix(backend): Do not throw URIError when a cookie has a malformed percent-escape by kev-flex · Pull Request #9345 · clerk/javascript

Open Graph Description: Description Fixes #9333. ClerkRequest decodes percent-escapes across the whole Cookie header rather than per value, so an invalid sequence in any cookie — including ones Clerk neither set nor reads...

X Description: Description Fixes #9333. ClerkRequest decodes percent-escapes across the whole Cookie header rather than per value, so an invalid sequence in any cookie — including ones Clerk neither set nor reads...

Opengraph URL: https://github.com/clerk/javascript/pull/9345

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:7f0b5172-7228-37df-9f27-823cafd2a5b9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE92C:3FDCC4:11FDD4A:1909C81:6AFAD677
html-safe-nonce263f069eb5049569d0aee14149d4a9aa8c2ecaccb4b2f8112633d51847a6a181
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTJDOjNGRENDNDoxMUZERDRBOjE5MDlDODE6NkFGQUQ2NzciLCJ2aXNpdG9yX2lkIjoiMTMxNTg3NzUwMDUyOTMzMzg3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac928639980d3b56afc9eb8f13005f548ca4f5eb1df6254157ad9f69f1d37770c1
hovercard-subject-tagpull_request:4216291922
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/clerk/javascript/9345/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3cec20bb48d7f1553c633833a8d9594359dba981564e14503aa820f06eb7cb3e/clerk/javascript/pull/9345
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3cec20bb48d7f1553c633833a8d9594359dba981564e14503aa820f06eb7cb3e/clerk/javascript/pull/9345
og:image:altDescription Fixes #9333. ClerkRequest decodes percent-escapes across the whole Cookie header rather than per value, so an invalid sequence in any cookie — including ones Clerk neither set nor reads...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekev-flex
hostnamegithub.com
expected-hostnamegithub.com
None02f4c00e74911c7cd779fc232c3130cee49eb39fd0ed4bfe3eea3b82c7c18084
turbo-cache-controlno-cache
go-importgithub.com/clerk/javascript git https://github.com/clerk/javascript.git
octolytics-dimension-user_id49538330
octolytics-dimension-user_loginclerk
octolytics-dimension-repository_id438331492
octolytics-dimension-repository_nwoclerk/javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id438331492
octolytics-dimension-repository_network_root_nwoclerk/javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release33c41e9d150e44415272934d676dc63c57d89c3b
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/9345#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F9345
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F9345
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=clerk%2Fjavascript
Reloadhttps://github.com/clerk/javascript/pull/9345
Reloadhttps://github.com/clerk/javascript/pull/9345
Reloadhttps://github.com/clerk/javascript/pull/9345
clerkhttps://github.com/clerk
javascripthttps://github.com/clerk/javascript
Codehttps://github.com/clerk/javascript
Issues44 (44)https://github.com/clerk/javascript/issues
Pull requests113 (113)https://github.com/clerk/javascript/pulls
Discussionshttps://github.com/clerk/javascript/discussions
Actionshttps://github.com/clerk/javascript/actions
Security and quality6 (6)https://github.com/clerk/javascript/security
Insightshttps://github.com/clerk/javascript/pulse
https://github.com/clerk/javascript
kev-flexhttps://github.com/kev-flex
clerk:mainhttps://github.com/clerk/javascript/tree/main
kev-flex:fix/backend-malformed-cookie-escapehttps://github.com/kev-flex/javascript/tree/fix/backend-malformed-cookie-escape
Conversationhttps://github.com/clerk/javascript/pull/9345
Commits1 (1)https://github.com/clerk/javascript/pull/9345/commits
Checkshttps://github.com/clerk/javascript/pull/9345/checks
Files changedhttps://github.com/clerk/javascript/pull/9345/files
fix(backend): Do not throw URIError when a cookie has a malformed percent-escapehttps://github.com/clerk/javascript/pull/9345#top
kev-flexhttps://github.com/kev-flex
clerk:mainhttps://github.com/clerk/javascript/tree/main
kev-flex:fix/backend-malformed-cookie-escapehttps://github.com/kev-flex/javascript/tree/fix/backend-malformed-cookie-escape
https://github.com/kev-flex
kev-flexhttps://github.com/kev-flex
Aug 5, 2026https://github.com/clerk/javascript/pull/9345#issue-5075698958
#9333https://github.com/clerk/javascript/issues/9333
#9333https://github.com/clerk/javascript/issues/9333
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/9345
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Aug 5, 2026https://github.com/clerk/javascript/pull/9345#issuecomment-5198027821
@kev-flexhttps://github.com/kev-flex
Vercelhttps://vercel.com
authorize ithttps://vercel.com/git/authorize?team=Clerk%20Production&slug=clerk-production&teamId=team_WkGqQVj7eL8Pmap8W5wWH515&type=github&job=%7B%22headInfo%22%3A%7B%22sha%22%3A%22f530c18a6f3553d2fa7d7a46b8223cbe188f05fb%22%7D%2C%22id%22%3A%22QmWssg6rPu1eGdL9BNMHsR4aoo4VKf9S7bcpnL5Ep1kHGU%22%2C%22org%22%3A%22clerk%22%2C%22prId%22%3A9345%2C%22repo%22%3A%22javascript%22%7D
Please reload this pagehttps://github.com/clerk/javascript/pull/9345
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Aug 5, 2026https://github.com/clerk/javascript/pull/9345#issuecomment-5198027862
Please reload this pagehttps://github.com/clerk/javascript/pull/9345
e0ac1d2https://github.com/clerk/javascript/commit/e0ac1d2a373f49740ec284308de31fd21b788569
Click here to learn what changesets arehttps://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md
Click here if you're a maintainer who wants to add another changeset to this PRhttps://github.com/kev-flex/javascript/new/fix/backend-malformed-cookie-escape?filename=.changeset/crisp-trams-follow.md&value=---%0A%22%40clerk%2Fbackend%22%3A%20patch%0A---%0A%0Afix(backend)%3A%20Do%20not%20throw%20URIError%20when%20a%20cookie%20has%20a%20malformed%20percent-escape%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/9345
https://github.com/kev-flex
kev-flexhttps://github.com/kev-flex
August 5, 2026 22:18https://github.com/clerk/javascript/pull/9345#event-29036856006
https://github.com/kev-flex
kev-flexhttps://github.com/kev-flex
August 5, 2026 22:21https://github.com/clerk/javascript/pull/9345#event-29036928684
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 5, 2026https://github.com/clerk/javascript/pull/9345#issuecomment-5198128077
Please reload this pagehttps://github.com/clerk/javascript/pull/9345
https://app.coderabbit.ai/change-stack/clerk/javascript/pull/9345?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack
f38cf02https://github.com/clerk/javascript/commit/f38cf02fd55a551fcf1d43c89371cf2132c2ba92
e0ac1d2https://github.com/clerk/javascript/commit/e0ac1d2a373f49740ec284308de31fd21b788569
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=clerk/javascript&utm_content=9345
Xhttps://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai
Mastodonhttps://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai
Reddithttps://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code
Please reload this pagehttps://github.com/clerk/javascript/pull/9345
https://github.com/kev-flex
fix(backend): Do not throw URIError when a cookie has a malformed per…https://github.com/clerk/javascript/pull/9345/commits/e0ac1d2a373f49740ec284308de31fd21b788569
e0ac1d2https://github.com/clerk/javascript/pull/9345/commits/e0ac1d2a373f49740ec284308de31fd21b788569
https://github.com/kev-flex
kev-flexhttps://github.com/kev-flex
force-pushedhttps://github.com/clerk/javascript/compare/f530c18a6f3553d2fa7d7a46b8223cbe188f05fb..e0ac1d2a373f49740ec284308de31fd21b788569
f530c18https://github.com/clerk/javascript/commit/f530c18a6f3553d2fa7d7a46b8223cbe188f05fb
e0ac1d2https://github.com/clerk/javascript/commit/e0ac1d2a373f49740ec284308de31fd21b788569
Compare https://github.com/clerk/javascript/compare/f530c18a6f3553d2fa7d7a46b8223cbe188f05fb..e0ac1d2a373f49740ec284308de31fd21b788569
August 5, 2026 22:31https://github.com/clerk/javascript/pull/9345#event-29037258326
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 5, 2026https://github.com/clerk/javascript/pull/9345#issuecomment-5198143649
Please reload this pagehttps://github.com/clerk/javascript/pull/9345
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 11, 2026 https://github.com/clerk/javascript/pull/9345#ref-pullrequest-5123726253
fix(backend): decode cookie values after parsing #9399 https://github.com/clerk/javascript/pull/9399
https://github.com/kev-flex
kev-flexhttps://github.com/kev-flex
Aug 11, 2026https://github.com/clerk/javascript/pull/9345#event-29301438421
https://github.co/hiddenchars
https://github.com/clerk/javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F9345
Please reload this pagehttps://github.com/clerk/javascript/pull/9345
URIError: URI malformed — ClerkRequest.parseCookies throws on any malformed percent-escape in the Cookie header https://github.com/clerk/javascript/issues/9333
Please reload this pagehttps://github.com/clerk/javascript/pull/9345
https://github.com/kev-flex
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.