[wp-trac] [WordPress Trac] #31645: Press This: Reject relative URLs when scraping source html
WordPress Trac
noreply at wordpress.org
Tue Mar 17 16:10:10 UTC 2015
#31645: Press This: Reject relative URLs when scraping source html
--------------------------+--------------------
Reporter: kraftbj | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.2
Component: Press This | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+--------------------
Comment (by kraftbj):
Tried the test URLs previously and threw in a couple of random WTH
examples ([https://twitter.com/sempf/status/514473420277694465 bought -1
beers at the bar])
{{{
http://example.com/123.html -- WORKS (use canonical)
https://example.com/123.html -- WORKS (use canonical)
//example.com/123.html -- WORKS (use canonical, plus http:)
/123.html -- WORKS (use canonical, prepended by parent domain)
123.html -- WORKS (ignore canonical, uses parent URL)
mailto:example at example.com -- WORKS (ignore canonical, uses parent URL)
ftp://example.com -- WORKS (ignore canonical, uses parent URL)
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31645#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list