Bug 60411 - Rewrite's redirect implementation does not correspond to the documentation
Summary: Rewrite's redirect implementation does not correspond to the documentation
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 8
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 8.5.x-trunk
Hardware: All All
: P2 major (vote)
Target Milestone: ----
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-24 09:01 UTC by Michael Osipov
Modified: 2016-11-28 11:58 UTC (History)
0 users



Attachments
Patch for aligning the implementation to the documentation (10.40 KB, patch)
2016-11-24 09:03 UTC, Michael Osipov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Osipov 2016-11-24 09:01:25 UTC

    
Comment 1 Michael Osipov 2016-11-24 09:03:00 UTC
Basically, symbolic names are not implemented and result in a NumberFormatException. Attached is a patch which aligns implementation with the documentation along with doc updates and unit tests.
Comment 2 Michael Osipov 2016-11-24 09:03:34 UTC
Created attachment 34472 [details]
Patch for aligning the implementation to the documentation
Comment 4 Mark Thomas 2016-11-28 11:58:38 UTC
Thanks for the report and the patch.

Fixed in:
- trunk for 9.0.0.M14 onwards
- 8.5.x for 8.5.9 onwards
- 8.0.x for 8.0.40 onwards

7.0.x and earlier are not affected as the RewriteValve is not present in those versions.

The patch was applied with some minor changes to replaces tabs with 4 spaces and to align formatting with the existing code.