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

Add TrailingSlash::MergeOnly behavior #1695

Merged
merged 3 commits into from
Sep 25, 2020
Merged

Commits on Sep 18, 2020

  1. Add TrailingSlash::MergeOnly to make NormalizePath able to compatible…

    … with actix-web 2.0
    
    Behavior of `NormalizePath` in actix-web 2.0 would keep the trailing slash's existance as it is,
    which is different from that in 3.0.
    
    This patch add a new option called `MergeOnly` in `TrailingSlash`, which only merge the trailing
    slashes into one if there exist. This option makes `NormalizePath` able to be compatible with
    actix-web 2.0 and makes it eaiser for users who want to migrate from 2.0 to 3.0.
    
    This will close actix#1694.
    SuperHacker-liuan committed Sep 18, 2020
    Configuration menu
    Copy the full SHA
    ef7822e View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2020

  1. Configuration menu
    Copy the full SHA
    2290234 View commit details
    Browse the repository at this point in the history
  2. Append @robjtede changes request in PR actix#1695

    - Rewrite comments & changes
    
    Signed-off-by: 劉安 <liuan@sgcc.com.cn>
    SuperHacker-liuan committed Sep 25, 2020
    Configuration menu
    Copy the full SHA
    6ff4da7 View commit details
    Browse the repository at this point in the history