Skip to content
This repository has been archived by the owner on Jan 10, 2021. It is now read-only.

Commit

Permalink
Updating the documentation formatting, and correcting an issue where …
Browse files Browse the repository at this point in the history
…URLs can encounter copy and paste issues.
  • Loading branch information
Nathan Glasl committed May 12, 2016
1 parent dfc1942 commit ca040a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# [misdirection](https://packagist.org/packages/nglasl/silverstripe-misdirection)

_The current release is **2.2.2**_
_The current release is **2.2.3**_

A module for SilverStripe which will allow both simple and regular expression link
redirections based on customisable mappings, either hooking into a page not found or
replacing the default automated URL handling.
> A module for SilverStripe which will allow both simple and regular expression link redirections based on customisable mappings, either hooking into a page not found or replacing the default automated URL handling.
This is based upon the existing [link mapping](https://github.com/silverstripe-australia/link-mapping) module, aiming to provide a more robust solution for both users and developers alike, with further support and customisation!

Expand Down
2 changes: 1 addition & 1 deletion code/services/MisdirectionService.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class MisdirectionService {

public static function unify_URL($URL) {

return strtolower(trim($URL, '/?'));
return strtolower(trim($URL, ' ?/'));
}

/**
Expand Down

0 comments on commit ca040a2

Please sign in to comment.