matthiasblaesing commented on issue #6236:
URL: https://github.com/apache/netbeans/issues/6236#issuecomment-1646639539

   Sorry, I don't see a sane way to do this. When would you encode a character 
and when not? You can argue, that you can guess that a not allowed character 
gets encoded, others don't, but then what do you make from this:
   
   `https://test.invalid/path%20with%20spaces`
   
   When trying to guess if this has to be decoded, the path component might 
mean `/path%20with%20spaces` or `/path with spaces`. On the other hand encoded 
it might also be `https://test.invalid/path%2520with%2520spaces`.
   
   As you might have guessed from my reply, I don't like this "let`s interpret 
the most broken code until it works somehow" attitude in web development. If 
someone can answer this problem, without security problems, I'll review a fix, 
until that happens from my POV this works as designed.


-- 
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]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to