This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 7.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit eeae4118315283dc188249a4f3c7826836a4b4cb
Author: Jesse Zhang <[email protected]>
AuthorDate: Thu Feb 1 13:53:44 2018 -0600

    Fixed crash in microserver help message
    
    (cherry picked from commit c69e8e2b62f69980bd06aca7fe336a2ff41f5c21)
---
 tests/tools/microServer/uWServer.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/tools/microServer/uWServer.py 
b/tests/tools/microServer/uWServer.py
index b646608..9d3fdfb 100644
--- a/tests/tools/microServer/uWServer.py
+++ b/tests/tools/microServer/uWServer.py
@@ -684,11 +684,11 @@ def main():
                         type=str,
                         default="{PATH}",
                         help="format string used as a key for response lookup: 
\
-                        example: \"{%Host}{%Server}{PATH}\", \"{HOST}{PATH}\", 
\"{PATH}\"\
-                        All the args preceded by % are header fields in the 
request\
+                        example: \"{%%Host}{%%Server}{PATH}\", 
\"{HOST}{PATH}\", \"{PATH}\"\
+                        All the args preceded by %% are header fields in the 
request\
                         The only two acceptable arguments which are not header 
fields are : fqdn (represented by HOST) and the url path (represented by PATH) 
in a request line.\
                         Example: given a client request as  << GET 
/some/resource/location HTTP/1.1\nHost: hahaha.com\n\n >>, if the user wishes 
the host field and the path to be used for the response lookup\
-                        then the required format will be {%Host}{PATH}")
+                        then the required format will be {%%Host}{PATH}")
 
     args = parser.parse_args()
     options = args

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to