WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
215080
document.referrer value is missing trailing slash
https://bugs.webkit.org/show_bug.cgi?id=215080
Summary
document.referrer value is missing trailing slash
Eric Lawrence (MSFT)
Reported
2020-08-03 06:13:44 PDT
1. Visit
https://bayden.com/test/refer/
2. Click
https://webdbg.com/test/refer/
OBSERVE: At the top of the page, we see "document.referrer is
https://bayden.com
" EXPECT: At the top of the page, we see "document.referrer is
https://bayden.com/
" with the trailing slash. When sanitizing the referer HTTP header for cross-origin subdownloads, Safari includes the slash. Chromium always includes the slash.
Attachments
Patch
(4.03 KB, patch)
2021-07-27 09:09 PDT
,
Alex Christensen
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-08-04 13:41:32 PDT
<
rdar://problem/66539402
>
Sam Sneddon [:gsnedders]
Comment 2
2021-07-27 06:16:08 PDT
Presumably ITP related, given it's document.referrer only?
Alex Christensen
Comment 3
2021-07-27 09:09:06 PDT
Created
attachment 434292
[details]
Patch
EWS
Comment 4
2021-07-27 10:21:01 PDT
Committed
r280342
(
239989@main
): <
https://commits.webkit.org/239989@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 434292
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug