# Functions
Clean cleans the path p so that the following conditions are met:
- It is always non-empty - It always starts with a '/' - It never contains any '.' or '..' segments - It always ends with a '/'
This means it can be safely used in URL checks.