Mercurial Hosting > luan
diff src/luan/lib/webserver/RequestParser.java @ 1371:4c5548a61d4f
add Request.originalPath
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 26 Jun 2019 19:14:13 -0600 |
parents | 643cf1c37723 |
children |
line wrap: on
line diff
--- a/src/luan/lib/webserver/RequestParser.java Sun Jun 23 19:50:55 2019 -0600 +++ b/src/luan/lib/webserver/RequestParser.java Wed Jun 26 19:14:13 2019 -0600 @@ -73,6 +73,7 @@ throw new ParseException(parser,"bad path"); while( parser.noneOf(" ?#") ); request.path = urlDecode( parser.textFrom(start) ); + request.originalPath = request.path; } private void parseQuery() throws ParseException {