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/08/01 23:18:23 UTC
[jira] Commented: (MPLINKCHECK-10) allo 303 and 304 http status to be validated
The following comment has been added to this issue:
Author: Carlos Sanchez
Created: Sun, 1 Aug 2004 5:16 PM
Body:
IMHO is better to report MOVED PERMANENTLY as errors so the user can change the links.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPLINKCHECK-10?page=comments#action_22592
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/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: Sun, 1 Aug 2004 5:16 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