Skip to content

Commit

Permalink
Merge pull request #46 from ngaitahutourism/master
Browse files Browse the repository at this point in the history
Allow trailing slash
  • Loading branch information
dhensby authored Jul 19, 2017
2 parents f696bd1 + 70a4182 commit 38a42f2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions code/RedirectedURL.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,6 @@ public function setFromQuerystring($val) {
$val = rtrim($val,'?');
$this->setField('FromQuerystring', strtolower($val));
}

public function setTo($val) {
$val = rtrim($val,'?');
if($val != '/') $val = rtrim($val,'/');
$this->setField('To', strtolower($val));
}


/**
* Helper for bulkloader {@link: RedirectedURLAdmin.getModelImporters}
Expand Down

0 comments on commit 38a42f2

Please sign in to comment.