We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
\Sabre\Uri\resolve('http://www.mydomain.com/somewhere.json', '#');
Expected output:
http://www.mydomain.com/somewhere.json
(or http://www.mydomain.com/somewhere.json#
http://www.mydomain.com/somewhere.json#
Actual Output:
http://www.mydomain.com/#
This seems to be because Sabre\Uri\parse('#') returns "path" => "#".
Sabre\Uri\parse('#')
"path" => "#"
parse_url('#') returns []. It looks like _parse_fallback is returning the path as #.
parse_url('#')
[]
_parse_fallback
#
The text was updated successfully, but these errors were encountered:
Fix for issue #16. Parsing urls that are only a fragment.
dd4fe3a
Thanks @evert!
Sorry, something went wrong.
0f747da
7ac5bbf
Merge pull request #20 from fruux/fix-16-1.x
e53ba7a
No branches or pull requests
Expected output:
(or
http://www.mydomain.com/somewhere.json#
Actual Output:
This seems to be because
Sabre\Uri\parse('#')
returns"path" => "#"
.parse_url('#')
returns[]
. It looks like_parse_fallback
is returning the path as#
.The text was updated successfully, but these errors were encountered: