Closed (fixed)
Project:
Link checker
Version:
6.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 May 2009 at 10:51 UTC
Updated:
26 Jul 2009 at 21:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
hass commentedComment #2
AlexisWilke commentedWhat would the browser do if http://example.com/example1/bar is incorrect?
Comment #3
hass commentedIt may be listed on the next link check as "file not found", but we cannot say for sure how others configure their servers. If they provide a 301 for every link that does not exists to their home we change again to http://example.com/ and than you lost this link... You may not able to reproduce the link and than the link is lost.
I have added very special regexes to the extraction process within the last days. We need to adapt this and use regex replace with nearly the same regexes and replace only links we know for sure they are inside a link or one of the other HTML elements and not only a part of a link written in plain text or so.
Comment #4
hass commentedPatches attached.
Comment #5
hass commentedNew patches, less lines, should be faster and fixed numbering bugs in replacement string.
Comment #6
hass commentedAbove patches are partly no-brainers...
I've committed better patches that have been tested on some links and seems to work reliably. Would be good to hear from some people if it works well or not.