You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "James Leigh (JIRA)" <ji...@apache.org> on 2013/11/27 21:33:36 UTC

[jira] [Updated] (HTTPCLIENT-1440) NPE When Location Is file: URI

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Leigh updated HTTPCLIENT-1440:
------------------------------------

    Attachment: HTTPCLIENT-1440.patch

If a URI has no authority a NPE is thrown when it is resolved. This patch checks for a null authority in the URI and if so, treats it like an opaque URI.

James

> NPE When Location Is file: URI
> ------------------------------
>
>                 Key: HTTPCLIENT-1440
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1440
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.3.1
>            Reporter: James Leigh
>              Labels: patch
>             Fix For: 4.3.2
>
>         Attachments: HTTPCLIENT-1440.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.1#6144)

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