#48: Prevent base URL from containing a file path, regardless of whether it's running on the file system or from a web server. Add tests and lint.