BenManu\StyleGuide\PageService::fixURLSegment
Given the URLSegment we're about to set, ensure this is valid in SilverStripe, and update it if required.
Signature
protected function fixURLSegment(string
$rawSegment )
Parameters
$rawSegment
— string
Returns
- string
- A filtered path compatible with RFC 3986