Function __global->_fixup_protocolless_urls
Definitions
sources/urls2.php
- Sometimes users don't enter full URLs but do intend for them to be absolute. This code tries to see what relative URLs are actually absolute ones, via an algorithm. It then fixes the URL.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$in | URLPATH | required parameter | N/A | N/A | The URL to fix |
Return
- The fixed URL (or original one if no fix was needed)
- Type: URLPATH
- Set: N/A
- Range: N/A