function isRelativePath($url) { // FIXME This is not very comprehensive, but will work for now. if ($this->isAllowedMethod($url)) { return false; } if ($url[0] == '/') { return false; } return true; }