[haiku-bugs] Re: [Haiku] #12710: BPackageInfo; URL Validation Checks

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Thu, 28 Apr 2016 07:06:48 -0000

#12710: BPackageInfo; URL Validation Checks
--------------------------------+----------------------------
   Reporter:  apl-haiku         |      Owner:  bonefish
       Type:  enhancement       |     Status:  new
   Priority:  normal            |  Milestone:  Unscheduled
  Component:  Kits/Package Kit  |    Version:  R1/Development
 Resolution:                    |   Keywords:
 Blocked By:                    |   Blocking:
Has a Patch:  1                 |   Platform:  All
--------------------------------+----------------------------

Comment (by pulkomandy):

 Your patch does not allow IDN domain names. For example, http://清华大学
 .cn is a valid URL.

 I would suggest using the BUrl class to parse URLs, and improving said
 class if you find there are problems with the way it handle things.

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

Other related posts: