diff options
| author | Dave Hibberd <hibby@debian.org> | 2025-05-21 21:33:54 +0100 |
|---|---|---|
| committer | Dave Hibberd <hibby@debian.org> | 2025-05-21 21:33:54 +0100 |
| commit | 3ecb593511b18e6bd2eb768160c5a85633ab1da6 (patch) | |
| tree | 0a6cb528674898a0c11953fbe766f55e1dc54164 /WebMail.c | |
| parent | 96197688e7b79553d45e0b6a5e760c2d80604862 (diff) | |
| parent | 0d3ee7fd56efa24ba652fbc17f98dd10458e8054 (diff) | |
Update upstream source from tag 'upstream/6.0.24.71+repack'
Update to upstream version '6.0.24.71+repack'
with Debian dir d79186aef0fff313e53c27b3f3fadf9c0193c56a
Diffstat (limited to 'WebMail.c')
| -rw-r--r-- | WebMail.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -3073,6 +3073,13 @@ VOID GetPage(struct HTTPConnectionInfo * Session, char * NodeURL) ptr = strchr(&NodeURL[17], ',');
Dir = HtmlFormDirs[DirNo];
+
+ if (DirNo == -1)
+ {
+ *WebMail->RLen = sprintf(WebMail->Reply, "<html><script>alert(\"No Page Selected. \");window.location.href = '/Webmail/NewMsg?%s';</script></html>", Session->Key);
+ return;
+ }
+
SubDir = strlop(&NodeURL[17], ':');
if (SubDir)
{
|
