mirror of
https://github.com/znc/znc.git
synced 2026-08-07 09:22:55 +02:00
Redirect to URIPrefix for paths outside the prefix
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user