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

    https://github.com/apache/httpclient/pull/64#discussion_r99964842
  
    --- Diff: 
httpclient/src/main/java/org/apache/http/client/utils/URIBuilder.java ---
    @@ -492,8 +492,8 @@ public String toString() {
     
         private static String normalizePath(final String path) {
             String s = path;
    -        if (s == null) {
    -            return "/";
    +        if (s == null || "".equals(s)) {
    +            return "";
    --- End diff --
    
    I just didn't want to import new dependences such as 
apache.commons.lang3.StringUtils, when I didn't notice TextUtils. I will use 
TextUtils, thanks for recommending. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to