Skip to content

cookies: bind domainless cookies to the url hostname - #905

Open
patrick-immometrica wants to merge 1 commit into
lexiforest:mainfrom
patrick-immometrica:fix-cookie-request-host
Open

patrick-immometrica wants to merge 1 commit into
lexiforest:mainfrom
patrick-immometrica:fix-cookie-request-host

Conversation

@patrick-immometrica

Copy link
Copy Markdown

The netloc was used as cookie domain, so a url with user:pass@ got a domain curl never matches, and hosts without a dot got ".local" appended. In both cases the cookies passed in were silently not sent.

Checklist

  • I have manually reviewed the changes and fully understand the code.

The netloc was used as cookie domain, so a url with user:pass@ got a
domain curl never matches, and hosts without a dot got ".local"
appended. In both cases the cookies passed in were silently not sent.

This branch has not been deployed

No deployments
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.

1 participant