[ 
https://issues.apache.org/jira/browse/TS-4312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15215314#comment-15215314
 ] 

ASF GitHub Bot commented on TS-4312:
------------------------------------

Github user jpeach commented on a diff in the pull request:

    https://github.com/apache/trafficserver/pull/541#discussion_r57665851
  
    --- Diff: proxy/hdrs/HTTP.cc ---
    @@ -878,7 +878,7 @@ http_parser_clear(HTTPParser *parser)
     
     MIMEParseResult
     http_parser_parse_req(HTTPParser *parser, HdrHeap *heap, HTTPHdrImpl *hh, 
const char **start, const char *end,
    -                      bool must_copy_strings, bool eof)
    +                      bool must_copy_strings, bool eof, bool 
strict_uri_parsing)
    --- End diff --
    
    Rather than multiple ``bool``, maybe we ought to pass bitwise flags?


> Adding config to parse urls according to RFC
> --------------------------------------------
>
>                 Key: TS-4312
>                 URL: https://issues.apache.org/jira/browse/TS-4312
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: Shen Zhang
>            Assignee: Brian Geffon
>
> Adding a config option "proxy.config.http.strict_uri_parsing" to sends http 
> status code 400 back to client if the URL includes non-RFC 3986 compliant 
> character



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to