phpuri icon indicating copy to clipboard operation
phpuri copied to clipboard

A php library for converting relative urls to absolute

Results 7 phpuri issues
Sort by recently updated
recently updated
newest added

// BUG or Wanted? echo phpUri::parse('https://www.google.com/images/large')->join('animals/italy/tiger.jpg'); // RESULT // => https://www.google.com/images/animals/italy/tiger.jpg // COMMENT // "large" is missing...isn't it? echo phpUri::parse('https://www.google.com/images/large/')->join('animals/italy/tiger.jpg'); // Adding a slash to the Right // RESULT //...

Hi, It seems that archive.org uses double forward slashes in the links and that messes things up (actually it also messes up rel2abs). Example: ``` $site = 'http://web.archive.org'; $link =...

Hello It looks like the tests are taken from the RFC, but some of them incorrectly. https://tools.ietf.org/html/rfc1808#section-5.1 For example: ;x should return http://a/b/c/d;x but test.php is looking for result http://a/b/c/;x...

Hi! Thanks for writing this library and sharing it :) The current composer name is "pguardiario/phpuri". Could you update the composer file to be the same of the user? Could...