Skip to content

Conversation

@SebastienRichert
Copy link
Contributor

@SebastienRichert SebastienRichert commented Mar 28, 2023

Verify that the httpCredentials are not sent when origin mismatches (scheme or hostname or port different). See microsoft/playwright#20374

It works on my side with roll of driver version 1.33.0-alpha-mar-28-2023 (I did not push the actual roll, I'll let you guys do it since other implementation may also need tests).

Copy link
Member

@yury-s yury-s left a comment

Choose a reason for hiding this comment

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

We finally rolled driver to 1.33. Can you rebase your PR on top of the main branch? The tests should be passing now.

…ver 1.33 roll)

Verify that the httpCredentials are not sent when origin mismatch (scheme or hostname or port). See microsoft/playwright#20374
@SebastienRichert
Copy link
Contributor Author

Rebased on top of main branch.

Copy link
Member

@yury-s yury-s left a comment

Choose a reason for hiding this comment

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

Let's also port tests with matching credentials:

should work with correct credentials and matching origin and
should work with correct credentials and matching origin case insensitive

Verify that the httpCredentials are not sent when origin mismatch (scheme or hostname or port). See microsoft/playwright#20374
@SebastienRichert
Copy link
Contributor Author

@yury-s All set.

@yury-s yury-s merged commit 7163012 into microsoft:main Apr 26, 2023
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