playwright/packages/playwright-core/src
Max Schmitt bd186640df
fix(client-certificates): use matching origin for connections on :443 (#31913)
Motivation: When using client-certificates on a website on port `443`,
we would normalise the user input with `new URL` but still generate a
"bad" representation of the "origin" internally, since the just do
concatenated "host:port".

(The origin doesn't contain the port in case of :443)

We use `clientCertificatesToTLSOptions` in two places:

a) for APIRequestContext, there we pass one from the URL constructor
over and
b) from the socks proxy, there we **now** also pass a "good one" over.

Test plan: We don't want to run the tests on port :443, so only manually
validated the fix.

Relates https://github.com/microsoft/playwright/issues/31906
2024-07-30 12:23:57 +02:00
..
cli chore: bump TypeScript to v5.5 (#31532) 2024-07-05 16:31:08 +02:00
client chore: use soft event emitter (#31868) 2024-07-29 17:11:31 -07:00
common chore: use own socks5 server for tests (#31639) 2024-07-11 14:12:48 +02:00
image_tools Fix various typos (Fixes #27396) (#27391) 2023-10-04 19:56:42 -07:00
protocol chore: client certificates api review (#31826) 2024-07-23 22:56:36 +02:00
remote chore: extract ws server util (#29247) 2024-01-30 14:36:51 -08:00
server fix(client-certificates): use matching origin for connections on :443 (#31913) 2024-07-30 12:23:57 +02:00
third_party chore: organize fake timers (#31156) 2024-06-05 09:25:12 -07:00
utils chore: use happy eyeballs for client-certificates (#31859) 2024-07-25 18:55:47 +02:00
androidServerImpl.ts feat(api): add host option in launchServer options (#30999) 2024-05-27 11:24:23 +02:00
browserServerImpl.ts feat(api): add host option in launchServer options (#30999) 2024-05-27 11:24:23 +02:00
DEPS.list feat(android): add Android.{launchServer,connect} (#18263) 2022-10-24 17:23:11 -07:00
inprocess.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
inProcessFactory.ts chore: mark outofprocess connection not as remote (#28156) 2023-12-06 17:58:19 -08:00
outofprocess.ts chore: split cli processing into cli endpoint and program (#29131) 2024-01-23 15:22:09 -08:00
utilsBundle.ts chore: get rid of rimraf package (#27790) 2023-10-26 19:41:00 +02:00
zipBundle.ts chore(har): allow replaying from zip har (#14962) 2022-06-17 16:11:22 -07:00