You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2018/02/24 15:26:01 UTC

[jira] [Created] (HTTPCORE-514) HttpExceptions should clean message strings when built to replace non-printable characters with hex values

Gary Gregory created HTTPCORE-514:
-------------------------------------

             Summary: HttpExceptions should clean message strings when built to replace non-printable characters with hex values
                 Key: HTTPCORE-514
                 URL: https://issues.apache.org/jira/browse/HTTPCORE-514
             Project: HttpComponents HttpCore
          Issue Type: Bug
          Components: HttpCore
    Affects Versions: 4.4.9
            Reporter: Gary Gregory
            Assignee: Gary Gregory
             Fix For: 4.4.10


Exceptions defined by HttpCore should clean message strings when built to replace non-printable characters with hex values.

For example, cleaned message would appear as

{quote}
[0x00]Hello[0x06][0x07][0x08][0x09][0x0a][0x0b][0x0c][0x0d][0x0e][0x0f]World
{quote}

This is quite handy when diagnosing junk input from a third party.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org