[ 
https://issues.apache.org/jira/browse/NIFI-12513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17798365#comment-17798365
 ] 

David Handermann commented on NIFI-12513:
-----------------------------------------

[~dstiegli1] Although possible, using regular expressions to parse the URL 
could be very prone to error when it comes to path and query components. The 
scheme, host, and port are straightforward, but the challenging portions are 
the path and query, which may or may not need to be encoded.

This probably warrants a closer evaluation of what the java.net.URL constructor 
previously did before it was removed.

> Regression in InvokeHTTP - Not a valid URL
> ------------------------------------------
>
>                 Key: NIFI-12513
>                 URL: https://issues.apache.org/jira/browse/NIFI-12513
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 2.0.0-M1, 1.24.0
>            Reporter: Pierre Villard
>            Assignee: Daniel Stieglitz
>            Priority: Major
>
> On NiFi 1.24 and NiFi 2.0-M1, the below URL
> {code:java}
> https://en.wikipedia.org/w/api.php?action=query&list=recentchanges&format=json&rcprop=user|comment|parsedcomment|timestamp|title|sizes|tags{code}
> Is no longer considered as valid but it was a valid one before.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to