FIX Make sure setAllowMultibyte is on when looking up by URLSegment

This commit is contained in:
Daniel Hensby 2018-06-19 14:23:27 +01:00
parent 767250435e
commit d392ca72f1
No known key found for this signature in database
GPG Key ID: D8DEBC4C8E7BC8B9

View File

@ -709,6 +709,7 @@ class Blog_Controller extends Page_Controller
if ($urlSegment) { if ($urlSegment) {
$filter = URLSegmentFilter::create(); $filter = URLSegmentFilter::create();
$filter->setAllowMultibyte(true);
return Member::get() return Member::get()
->filter('URLSegment', $filter->filter($urlSegment)) ->filter('URLSegment', $filter->filter($urlSegment))