summaryrefslogtreecommitdiffstats
path: root/kpf/src/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpf/src/Server.cpp')
-rw-r--r--kpf/src/Server.cpp2
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;