[haiku-bugs] Re: [Haiku] #12983: BUrl issues with certain URL strings

  • From: "humdinger" <trac@xxxxxxxxxxxx>
  • Date: Mon, 03 Oct 2016 14:39:58 -0000

#12983: BUrl issues with certain URL strings
--------------------------------+----------------------------
   Reporter:  humdinger         |      Owner:  axeld
       Type:  bug               |     Status:  new
   Priority:  normal            |  Milestone:  Unscheduled
  Component:  Kits/Network Kit  |    Version:  R1/Development
 Resolution:                    |   Keywords:
 Blocked By:                    |   Blocking:
Has a Patch:  0                 |   Platform:  All
--------------------------------+----------------------------

Comment (by humdinger):

 Apparently, it was Andrew's change in hrev50362. It introduced
 
[http://xref.plausible.coop/source/xref/haiku/src/kits/network/libnetapi/Url.cpp#891
 _Delimiter()], which fouls things up on among others <, > and ". There's a
 
[http://xref.plausible.coop/source/xref/haiku/src/kits/network/libnetapi/Url.cpp#924
 Todo] for the missing error handling. :)

 Shouldn't there be some sort of "escaping" to make the url compliant?

 Anyway, I guess Weather can be changed to not use " in the url and filter
 out those pesky characters when entered in the location text view.

 Close the ticket, or is it still valid to change the handling?

--
Ticket URL: <https://dev.haiku-os.org/ticket/12983#comment:3>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: