-
Notifications
You must be signed in to change notification settings - Fork 281
Fixes DPLRouteMatcher Incorrectly Matching URL Without Host or Path #115
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
Conversation
Handles `nil` URL `host` and `path` more appropriately.
Hi @mliberatore, It looks like you haven't signed our Contributor License Agreement, yet.
Please read and sign our full Contributor License Agreement here. Once you've signed reply with Thank you, ButtonBot |
[clabot:check] |
@wessmith It looks like @mliberatore just signed our Contributor License Agreement. 👍 ButtonBot |
@mliberatore @wessmith I restarted the build -- looked like a tooling error 😢 |
Hi @mliberatore. Thanks for this! It looks like there's a lot of errors in the test target. Is that happening locally for you when you run the tests? |
Hi @wessmith and @chrismaddern! I haven’t been able to get the tests to run successfully, even on a clean clone of the repo. Here are the steps I took:
So to be clear, this is without my changes from this pull request. Please let me know if you need any further information, or if you could provide me with other steps in order to get the tests running properly. Also note I’m running Xcode 8.1 (8B62) on macOS Sierra 10.12.1. I’m attempting to run the tests using |
triage: needs to be rebased onto master and tests to support the change @mliberatore would you like to update this PR or want us to take it on? |
Hi @wessmith, thanks for taking a look. I’d sincerely appreciate it if you could take it on 🙂 |
Merged in #152 |
Closes #114
See details at #114. This prevents a URL with just a scheme from being matched to a route that has a single variable. The example given at #114 is the following route registration:
This should properly log
hello
for the URLdpl://hello
in the ReceiverDemo sample project. The block, however, should not execute fordpl://
. Before this change, it would execute and log the string(null)(null)
.