Validate External Links reports "Forbidden" on everything

tom.stoeckel's Avatar

tom.stoeckel

26 Sep, 2013 05:02 PM

In Marked 2, when I run "Validate External Links" (something I do all the time) it reports "Forbidden" on everything (see attached image). The links open just fine when I click on them and these same files validate just fine in Marked. I tried changing from MultiMarkdown to Discount to a custom processor but I get the same results.

  1. Support Staff 1 Posted by Brett on 26 Sep, 2013 05:11 PM

    Brett's Avatar

    Please send me a couple of the full links.

  2. 2 Posted by tom.stoeckel on 26 Sep, 2013 05:19 PM

    tom.stoeckel's Avatar
  3. Support Staff 3 Posted by Brett on 26 Sep, 2013 05:33 PM

    Brett's Avatar

    Well, that is actually what the server returns:

    $ curl -LI http://usa.autodesk.com/getdoc/id=GS16485797

    HTTP/1.1 403 Forbidden
    Date: Thu, 26 Sep 2013 17:31:46 GMT
    Server: Apache-Coyote/1.1
    Content-Type: text/html;charset=utf-8
    Content-Length: 964
    Vary: Accept-Encoding

    Not much I can do about that, I'm afraid.

    -Brett

  4. 4 Posted by tom.stoeckel on 26 Sep, 2013 05:43 PM

    tom.stoeckel's Avatar

    It's curious that those links all validate just fine in the original version of Marked.

  5. Support Staff 5 Posted by Brett on 26 Sep, 2013 05:48 PM

    Brett's Avatar

    Actually, Marked 1.4 didn't have the extra check for the 403 that Marked 2 does. It basically assumed anything that wasn't a 404 or a 500 was ok (a little smarter than that, but essentially…). The Yellow warning state in Marked 2 indicates that there may be a server at the end of the link, but it's returning an improper response, which is exactly what the autodesk server is doing. I honestly have no idea why they would be doing that.

  6. 6 Posted by tom.stoeckel on 26 Sep, 2013 05:55 PM

    tom.stoeckel's Avatar

    Well, I know those links are shortened and redirect to a fully qualified URL but even if I replace the shortened link with the full link I get the same results. Too bad. I guess I'll be keeping both versions of Marked as this is an operation I need to do all the time.

    Thanks for checking.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • marked_2_forbidden.png 100 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac