You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/03/16 00:56:57 UTC
[jira] Created: (MPLINKCHECK-10) allo 303 and 304 http status to be validated
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPLINKCHECK-10
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPLINKCHECK-10
Summary: allo 303 and 304 http status to be validated
Type: Improvement
Status: Open
Priority: Major
Original Estimate: 10 minutes
Time Spent: Unknown
Remaining: 10 minutes
Project: maven-linkcheck-plugin
Assignee: Ben Walding
Reporter: Kees Jongenburger
Created: Mon, 15 Mar 2004 6:55 PM
Updated: Mon, 15 Mar 2004 6:55 PM
Environment: maven rc2
Description:
The linkchecker flows MOVED_TEMPORARILY moved links but sikps MOVED_PERMANENTLY while there are as valid as MOVED_TEMPORARILY
example:
http://www.mmbase.org/license
resolution:
add
import org.apache.commons.httpclient.HttpStatus;
to the class imports
in HTTPLinkValidator at row 108 change the code to
if (gm.getStatusCode() == HttpStatus.SC_MOVED_TEMPORARILY || gm.getStatusCode() == HttpStatus.SC_MOVED_PERMANENTLY)
(and a small cleanup )
row 121
if (gm.getStatusCode() == HttpStatus.SC_OK)
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org