diff options
Diffstat (limited to 'kpf/src/Server.cpp')
-rw-r--r-- | kpf/src/Server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kpf/src/Server.cpp b/kpf/src/Server.cpp index 00904132..62566b63 100644 --- a/kpf/src/Server.cpp +++ b/kpf/src/Server.cpp @@ -255,7 +255,7 @@ namespace KPF // simply not be found, but I'm worried that the TQDir/TQFile/TQFileInfo // stuff might try to expand it, so I'm not taking any chances. - if (d->request.path().tqcontains("..") || d->request.path().tqcontains('~')) + if (d->request.path().contains("..") || d->request.path().contains('~')) { kpfDebug << d->id << ": readRequest: bogus path" << endl; d->state = Responding; |