Redirect to URIPrefix for paths outside the prefix

This commit is contained in:
uu1101
2014-02-09 20:54:02 +01:00
parent c0974d9910
commit f6a881eeb2
+1 -1
View File
@@ -219,7 +219,7 @@ void CHTTPSock::GetPage() {
DEBUG("INVALID path => Does not start with prefix [" + m_sURIPrefix + "]");
DEBUG("Expected prefix: " << m_sURIPrefix);
DEBUG("Requested path: " << m_sURI);
PrintNotFound();
Redirect(m_sURI);
} else {
OnPageRequest(m_sURI);
}