diff options
author | Luke Wilde <lukew@serenityos.org> | 2022-06-19 16:02:48 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-06-19 16:35:43 +0100 |
commit | 1f820f8840ebf83ada1ea552f3686dce23a66346 (patch) | |
tree | d5cc1467d3251dd01aae69c689df12d56d31372c /.pre-commit-config.yaml | |
parent | b3d87f8e3747aa40d2f72c5d91a25d38e505501b (diff) | |
download | serenity-1f820f8840ebf83ada1ea552f3686dce23a66346.zip |
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`
Diffstat (limited to '.pre-commit-config.yaml')
0 files changed, 0 insertions, 0 deletions