Roll back redirection function

This is a magical solution to a non-issue (aesthetic), it could easily be introduced by a plugin and is not a good substitute for proper web server configuration. Eg, Apache:

    ##
    ## Directory Listing attempts
    ##
    DirectorySlash Off
    RewriteOptions AllowNoSlash

    ##
    ## Redirect Trailing Slashes...
    ##
    RewriteRule ^(.*)/$ /$1 [L,R=301]
This commit is contained in:
Samuel Georges 2015-05-18 19:07:42 +10:00
parent aff35ce0c2
commit c9cf2b4352
2 changed files with 0 additions and 14 deletions

View File

@ -1,7 +1,6 @@
* **Build 260** (2015-05-16)
- The `|page` filter now supports passing an empty string to generate a link to the current page.
- Component variables set with `$this->page` no longer leech in to other component partials.
- The application will now perform redirects to prevent duplicate content and enforce the linking policy (see config `cms.enableRedirects`).
* **Build 258** (2015-05-09)
- The hotkey for full screen mode is now Cmd+Shift+F or Ctrl+Shift+F in Windows.

View File

@ -239,19 +239,6 @@ return [
'linkPolicy' => 'detect',
/*
|--------------------------------------------------------------------------
| Determines if the application should redirect URLs.
|--------------------------------------------------------------------------
|
| If enabled, the application middleware will redirect URLs with trailing
| and duplicat slashes. It will also redirect based on the linking policy
| defined in linkPolicy.
|
*/
'enableRedirects' => true,
/*
|--------------------------------------------------------------------------
| Default permission mask