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)    

 [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.


 [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