This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 1183 - Response.Redirect ASP breaks validation
Summary: Response.Redirect ASP breaks validation
Status: RESOLVED INVALID
Alias: None
Product: Validator
Classification: Unclassified
Component: Parser (show other bugs)
Version: 0.7.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Terje Bless
QA Contact: qa-dev tracking
URL: http://www.federhotels.it/default.asp
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-31 16:50 UTC by verygoodguy33
Modified: 2005-11-16 08:48 UTC (History)
0 users

See Also:


Attachments

Description verygoodguy33 2005-03-31 16:50:49 UTC
if the validator comes accross a response.redirect (ASP code) it stops 
validation of the current page and instead validates the target page of the 
response.redirect.
Comment 1 Terje Bless 2005-03-31 18:20:24 UTC
Can you provide an URL that demonstrates this behaviour?
Comment 2 verygoodguy33 2005-03-31 21:26:59 UTC
the a.asp file (see URL) has a response.redirect to default.asp

result in validator:
Note:The URL you gave me, <http://www.theprofoundone.com/a.asp>, returned a 
redirect to <http://www.theprofoundone.com/default.asp?page=Home>. 
Comment 3 Terje Bless 2005-04-01 04:30:46 UTC
The ASP code "response.redirect" causes the server to emit a "302 Moved" HTTP status code;
i.e. it issues a redirect. That the Validator follows this redirect is a feature not a bug.
Comment 4 verygoodguy33 2005-04-01 12:00:57 UTC
well i its a feature that should be optional.. this way i cant completely 
verify the pages i'm making because almost every page uses at least one 
redirect..