@@ -262,6 +262,9 @@ |
||
| 262 | 262 | throw new RuntimeException(sprintf("The given URL: `%s` could not be parse", $url)); |
| 263 | 263 | } |
| 264 | 264 | |
| 265 | + /** |
|
| 266 | + * @param string $url |
|
| 267 | + */ |
|
| 265 | 268 | protected static function sanitizeUrl($url) |
| 266 | 269 | { |
| 267 | 270 | if ('' == $url || strpos($url, '//') === 0) { |