Removed extraneous spaces from system property keys.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1644737 13f79535-47bb-0310-9956-ffa450edef68
Revert r1644737 - whitespace is important for documentation formatting.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1644757 13f79535-47bb-0310-9956-ffa450edef68
Use a single, common URLDecoder instance. This adds '~' as a safe character in some cases.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1644768 13f79535-47bb-0310-9956-ffa450edef68
A little refactoring in preparation for some RewriteValve fixes. No functional change.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1644784 13f79535-47bb-0310-9956-ffa450edef68
More unit tests for the RewriteValve based on Konstantin's concerns raised in https://issues.apache.org/bugzilla/show_bug.cgi?id=57215

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1644785 13f79535-47bb-0310-9956-ffa450edef68
Ensure that the return value for request.getRequestURI() is in the expected non-URL-encoded form when using the RewriteValve

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1644790 13f79535-47bb-0310-9956-ffa450edef68
Ensure that the URL resulting from the RewriteValve is normalized before it is used to map the request.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1644793 13f79535-47bb-0310-9956-ffa450edef68
Simplify: class-casted value is already available in a local variable. No change in functionality.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1644815 13f79535-47bb-0310-9956-ffa450edef68
Remove FIXME comment. These configuration options are documented for AJP and do have valid use cases.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1644884 13f79535-47bb-0310-9956-ffa450edef68
Remove unnecessary code. Request can not be async at this point.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1644886 13f79535-47bb-0310-9956-ffa450edef68
Fix a couple of Javadoc warnings since I am working with this class already.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1644890 13f79535-47bb-0310-9956-ffa450edef68
Remove some TODOs.
I can't see a better way to map SSL session ID to HTTP session ID.
No-one has complained about the performance.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1644892 13f79535-47bb-0310-9956-ffa450edef68
Re-write comment to remove XXX marker

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1644910 13f79535-47bb-0310-9956-ffa450edef68
Declare a more specific exception and document when it is thrown.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1644924 13f79535-47bb-0310-9956-ffa450edef68
Javadoc improvements

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1644929 13f79535-47bb-0310-9956-ffa450edef68
Javadoc improvements

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1644930 13f79535-47bb-0310-9956-ffa450edef68
Provide a better mechanism for the RewriteValve to inject a re-written request that avoids:
- NPEs appearing in the log every time the Valve re-writes a request.
- unnecessary duplication of post-processing in the adapter

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1644935 13f79535-47bb-0310-9956-ffa450edef68
Clean-up. Fix a couple of warnings.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1644982 13f79535-47bb-0310-9956-ffa450edef68
Follow on to r1642697.
Only currently running contexts should be returned.
Handle the case where the mapper returns an unwanted  non-exact match.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1644989 13f79535-47bb-0310-9956-ffa450edef68
Whoops. Null check.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1645011 13f79535-47bb-0310-9956-ffa450edef68