Skip to content

Fix the parser when path is empty #17

New issue

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

Merged
merged 1 commit into from
Jan 10, 2014

Conversation

damienalexandre
Copy link
Contributor

For urls like http://vimeo.com/69912181 or http://jolicode.com/goodies, the url parser was adding two // before the file name. This is a fix for this bug as well as new tests for it.

@damienalexandre
Copy link
Contributor Author

The test results are red but the test I have added is green 😉

@oscarotero
Copy link
Collaborator

Thanks, @damienalexandre, You are right, the test fails but it's my foult ;)

oscarotero added a commit that referenced this pull request Jan 10, 2014
Fix the parser when path is empty
@oscarotero oscarotero merged commit a6734e1 into php-embed:master Jan 10, 2014
oscarotero added a commit that referenced this pull request Jan 10, 2014
Because "empty" checks whether the variable is set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants