[wp-trac] [WordPress Trac] #27152: wp_get_referer() no longer reports off-site referrers
WordPress Trac
noreply at wordpress.org
Tue Jan 12 08:31:12 UTC 2016
#27152: wp_get_referer() no longer reports off-site referrers
---------------------------------------------+-------------------------
Reporter: bpetty | Owner: swissspidy
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.5
Component: Bootstrap/Load | Version: 3.6.1
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+-------------------------
Changes (by swissspidy):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"36266"]:
{{{
#!CommitTicketReference repository="" revision="36266"
Introduce `wp_get_raw_referer()` to retrieve unvalidated referer.
For things like redirects `wp_get_referer()` should be used instead.
Props voldemortensen for initial patch.
Fixes #27152.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27152#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list