Skip to content
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

Reset params object with each attempted route match. #56

Closed
wants to merge 2 commits into from

Commits on Mar 11, 2013

  1. Reset the params object after each attempt to match a possible route.…

    … Otherwise params accumulate with each attempted match.
    Tim Wagner committed Mar 11, 2013
    Configuration menu
    Copy the full SHA
    d465b30 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2013

  1. When attempting to match routes with embedded variables all occurrenc…

    …es in the potentially matched route of the same string as the value of a variable were being replaced since a regex based string replace method was being used. Refactored to actually replace the correct index of the compared route followed by rejoining it into its string form for comparison. This ensures no collisions between variable values and similar substrings in the route.
    Tim Wagner committed Mar 19, 2013
    Configuration menu
    Copy the full SHA
    6170a6b View commit details
    Browse the repository at this point in the history