Bug 305505
| Summary: | Use URL's whole length instead of pathEnd() for URL size checks. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Basuke Suzuki <basuke> |
| Component: | New Bugs | Assignee: | Basuke Suzuki <basuke> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ahmad.saleem792, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Basuke Suzuki
Currently SecurityOrigin::canShow(URL) method uses pathEnd() to check the maximum length of URL. It should be whole URL length including query string and hash.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Basuke Suzuki
rdar://165801515
Basuke Suzuki
Pull request: https://github.com/WebKit/WebKit/pull/56587
EWS
Committed 305780@main (c8e9806e77fa): <https://commits.webkit.org/305780@main>
Reviewed commits have been landed. Closing PR #56587 and removing active labels.
Ahmad Saleem
This landed but bot didn't close it as `RESOLVED FIXED` so doing it manually.