Update CanonURL.php

Fixing a security issue