jira-importer opened a new issue, #1473:
URL: https://github.com/apache/httpcomponents-core/issues/1473

   **[Siqi 
Li](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=slisaasquatch)**
 opened 
**[HTTPCORE-681](https://issues.apache.org/jira/browse/HTTPCORE-681?redirect=false)**
 and commented
   
   Simple code example:
   
   ```java
   public static void main(String[] args) {
        System.out.println(URLEncodedUtils.parse((String) null, 
StandardCharsets.UTF_8)); // []
        System.out.println(WWWFormCodec.parse((String) null, 
StandardCharsets.UTF_8)); // null
   }
   ```
   
    
   Basically when the input String is null, URLEncodedUtils.parse returns an 
empty list and WWWFormCodec.parse returns null. It's by no means a big deal, 
but it did catch me off guard, because I expected WWWFormCodec to be a drop-in 
replacement. If this was intended, then please disregard this issue.
   
   
   ---
   
   **Affects:** 5.1
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to