Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.4.0

Request #2991 URI Validation with Net_URL
Submitted: 2004-12-20 02:38 UTC
From: doconnor Assigned: davey
Status: Closed Package: XML_FOAF
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 38 + 31 = ?

 
 [2004-12-20 02:38 UTC] doconnor
Description: ------------ Catch URL errors with the Net_URL object, or allow that in functions such as addPage() This would also allow people to enter partial URLs, ie /foaf.rdf and have them resolved to fully qualified ones.

Comments

 [2005-01-11 04:38 UTC] davey
Net_URL doesn't validate URIs as best I can tell (except by failing to parse_url() which isn't caught, heh) So I'm added a _resolveURI() private method to resolve all URIs to full URIs - Davey