[wp-trac] [WordPress Trac] #36638: Detect broken URLs in the editor
WordPress Trac
noreply at wordpress.org
Wed Jul 20 00:18:44 UTC 2016
#36638: Detect broken URLs in the editor
--------------------------------------------+-----------------------
Reporter: iseulde | Owner: azaozz
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 4.6
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: needs-unit-tests needs-testing | Focuses: ui
--------------------------------------------+-----------------------
Comment (by rachelbaker):
Replying to [comment:30 ocean90]:
> Replying to [comment:28 azaozz]:
>
> > 2. Many web servers block the `WordPress` user agent for different
reasons. We probably could use something else in the UA, but... Doesn't
sound right.
>
> This is the first time I'm hearing this. :) Do you happen to know what
the status code is? It's probably not 404.
Medium.com returns a `403`.
{{{
$ curl -v --user-agent "WordPress" https://medium.com
* Rebuilt URL to: https://medium.com/
* Trying 104.16.123.127...
* Connected to medium.com (104.16.123.127) port 443 (#0)
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate: medium.com
* Server certificate: DigiCert SHA2 Extended Validation Server CA
* Server certificate: DigiCert High Assurance EV Root CA
> GET / HTTP/1.1
> Host: medium.com
> User-Agent: WordPress
> Accept: */*
>
< HTTP/1.1 403 Forbidden
< Date: Wed, 20 Jul 2016 00:16:39 GMT
< Content-Type: text/html; charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Set-Cookie: __cfduid=daac0e730a603793f2b0f7c5577dbd7d71468973799;
expires=Thu, 20-Jul-17 00:16:39 GMT; path=/; domain=.medium.com; HttpOnly
< Cache-Control: max-age=15
< Expires: Wed, 20 Jul 2016 00:16:54 GMT
< X-Frame-Options: SAMEORIGIN
< Strict-Transport-Security: max-age=15552000; includeSubDomains; preload
< X-Content-Type-Options: nosniff
< Server: cloudflare-nginx
< CF-RAY: 2c5239c8f7aa10e7-ORD
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36638#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list