1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 19:27:35 +00:00
serenity/Userland/Libraries/LibWeb/XHR
Luke Wilde 1f820f8840 LibWeb: Add support for the <base> element changing the base URL
Used by Google seemingly almost all around account sign in and
management. The modern sign in page has this near the beginning:
```html
<base href="https://accounts.google.com">
```
All of the XHRs performed by sign in are relative URLs to this
base URL. Previously we ignored this and did it relative to the
current URL, causing the XHRs to 404 and sign in to fall apart.

I presume they do this because you can access the sign in page
from multiple endpoints, such as `/ServiceLogin` and
`/o/oauth2/auth/identifier`
2022-06-19 16:35:43 +01:00
..
EventNames.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EventNames.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ProgressEvent.h LibWeb: Use long long where it was replaced with long 2022-06-06 22:34:45 +01:00
ProgressEvent.idl LibWeb: Use long long where it was replaced with long 2022-06-06 22:34:45 +01:00
XMLHttpRequest.cpp LibWeb: Add support for the <base> element changing the base URL 2022-06-19 16:35:43 +01:00
XMLHttpRequest.h LibWeb: Trim leading and trailing HTTP whitespace bytes 2022-04-23 18:05:55 +02:00
XMLHttpRequest.idl LibWeb: Add XMLHttpRequest::open() overload 2022-04-05 22:33:44 +02:00
XMLHttpRequestEventTarget.cpp LibWeb: Rewrite EventTarget to more closely match the spec 2022-02-08 17:47:44 +00:00
XMLHttpRequestEventTarget.h LibWeb: Rewrite EventTarget to more closely match the spec 2022-02-08 17:47:44 +00:00
XMLHttpRequestEventTarget.idl LibWeb: Replace ad-hoc EventHandler type with callback function typedef 2022-03-31 01:10:47 +02:00