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

  • From: "apl-haiku" <trac@xxxxxxxxxxxx>
  • Date: Thu, 28 Apr 2016 07:59:11 -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 apl-haiku):

 This is correct, the logic will not handle those domains.  The validation
 is also otherwise very lenient, but on the other hand, is enough to catch
 the class of problems I see coming through on the HaikuDepotServer system.

 I did originally look at using BUrl to validate the domains because that
 would be much better.  I didn't pursue that because the BUrl class is in
 "libnetapi" and I don't think that this library is available as a build-
 host artifact.  This would then mean it were not possible to build the
 "package" tool for the build-host.

 I'm a bit new to this code base so please do correct me if I am wrong.

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

Other related posts: