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

normalize_uri fixes (double slashes and trailing slash) #1397

Merged
merged 3 commits into from
Jan 29, 2013

Commits on Jan 28, 2013

  1. Fix normalize_uri() function

    This will make sure all the double slashes are gone.  Also, the
    function description is updated to clarify its purpose.
    sinn3r committed Jan 28, 2013
    Configuration menu
    Copy the full SHA
    9a58b7b View commit details
    Browse the repository at this point in the history
  2. Fix trailing slash problem

    These modules require the target URI to be a directory path. So
    if you remove the trailing slash, the web server might return a
    301 or 404 instead of 200.
    
    Related to: [SeeRM: rapid7#7727]
    sinn3r committed Jan 28, 2013
    Configuration menu
    Copy the full SHA
    690ef85 View commit details
    Browse the repository at this point in the history
  3. Fix the forgotten path()

    sinn3r committed Jan 28, 2013
    Configuration menu
    Copy the full SHA
    1ea1ad3 View commit details
    Browse the repository at this point in the history