Incorrect relative paths in URLs