Lines Matching full:path
142 bool WMLPageState::processAccessControlData(const String& domain, const String& path)
153 // Spec: The path attribute defaults to the value "/"
154 m_accessPath = path.isEmpty() ? "/" : path;
160 // Spec: To simplify the development of applications that may not know the absolute path to the
161 // current deck, the path attribute accepts relative URIs. The user agent converts the relative
162 // path to an absolute path and then performs prefix matching against the PATH attribute.
165 String currentPath = currentURL.path();
169 m_accessPath = document->completeURL(currentPath.left(index + 1) + m_accessPath).path();
194 return hostIsAllowedToAccess(hostFromURL(previousURL)) && pathIsAllowedToAccess(previousURL.path());
232 bool WMLPageState::pathIsAllowedToAccess(const String& path) const
234 // Spec: The access path is prefix matched against the path portion of the referring URI
242 if (path.contains('/'))
243 path.split('/', subpathsCheck);
245 subpathsCheck.append(path);