-
Notifications
You must be signed in to change notification settings - Fork 3k
fix(urlMatcherFactory.js): change to allow url query param names to c… #2415
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
…ontain periods This change modifies the searchPlaceholder regex to include the period character as valid for url query param names. This change also modifies the regex found in the addParameter function which validates the param name just prior to adding to the list of parameters. A new set of unit tests were added to urlMatcherFactorySpec to ensure this modification works correctly. This change resolves issue angular-ui#2395
Just noticed that this appears to conflict with PR #1718. |
Well, #1718 needs a rebase. I'd be fine with this one superseding that one if you pulled in his additional test cases. |
Ok, I'll work on incorporating those into this PR on Monday. |
Sounds good, thanks. Ping me when you're ready and I'll check back. |
Hello, Ok, I think I've incorporated all of the tests created from #1718. Please review and let me know if I missed anything. This is my first contribution to a github project, so my apologies if I've missed anything. Thanks! |
Looks good! Just squash it down to 1 commit and we'll be all set (see http://prjs.radify.io/#/angular-ui/ui-router/pulls/2415). |
…ontain periods This change modifies the searchPlaceholder regex to include the period character as valid for url query param names. This change also modifies the regex found in the addParameter function which validates the param name just prior to adding to the list of parameters. A new set of unit tests were added to urlMatcherFactorySpec to ensure this modification works correctly. This change resolves issue angular-ui#2395
Ok, not sure if I made things worse or not. Here's the commands I executed: [1] git rebase -i HEAD~2 Originally, this displayed two 'pick' lines. I replaced the second line's 'pick' with 'squash', then saved. I then saw the following display:
[2] git push origin master This resulted in the following failure messages:
[3] git pull This resulted in the very much not helpful message of:
[4] git push origin master
However, now it shows there are 4 commits. Guessing that this isn't what you're looking for. Sorry about my lack of experience here... can you help explain where I went wrong? |
I'll see if I can take care of it later. |
Again, sorry about this. I should have realized that 'rebase' was a more advanced command and asked for more explicit instructions. Let me know if it would be easier for me to something on my end. I'll refrain from making any more modifications until I hear back from you. |
@SmilingJoe You actually did the rebase correctly, but doing a rebase always results in having to force-push, so the |
Fixed in d31b333. |
…ontain periods
This change modifies the searchPlaceholder regex to include the period
character as valid for url query param names. This change also modifies
the regex found in the addParameter function which validates the param
name just prior to adding to the list of parameters. A new set of unit
tests were added to urlMatcherFactorySpec to ensure this modification
works correctly.
This change fixes issue #2395