[Bug 113483] Re: kpf fails to serve file names containing ~
** Changed in: kdenetwork Importance: Unknown => Medium -- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to kdenetwork in ubuntu. https://bugs.launchpad.net/bugs/113483 Title: kpf fails to serve file names containing ~ -- kubuntu-bugs mailing list kubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
[Bug 113483] Re: kpf fails to serve file names containing ~
** Changed in: kdenetwork Status: Invalid => Unknown -- kpf fails to serve file names containing ~ https://bugs.launchpad.net/bugs/113483 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113483] Re: kpf fails to serve file names containing ~
** Changed in: kdenetwork Status: In Progress => Invalid -- kpf fails to serve file names containing ~ https://bugs.launchpad.net/bugs/113483 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113483] Re: kpf fails to serve file names containing ~
KPF is a KDE 3.x application which is no longer present in KDE 4. Since KDE 3 is unmaintained, it is unlikely this bug will be fixed. Thanks for your understanding. ** Changed in: kdenetwork (Ubuntu) Status: Triaged => Won't Fix -- kpf fails to serve file names containing ~ https://bugs.launchpad.net/bugs/113483 You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to kdenetwork in ubuntu. -- kubuntu-bugs mailing list kubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
[Bug 113483] Re: kpf fails to serve file names containing ~
** Changed in: kdenetwork (Ubuntu) Status: Confirmed => Triaged -- kpf fails to serve file names containing ~ https://bugs.launchpad.net/bugs/113483 You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to kdenetwork in ubuntu. -- kubuntu-bugs mailing list kubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
[Bug 113483] Re: kpf fails to serve file names containing ~
Thanks for the bug report. I can reproduce the bug as described. ** Changed in: kdenetwork (Ubuntu) Status: Unconfirmed => Confirmed -- kpf fails to serve file names containing ~ https://bugs.launchpad.net/bugs/113483 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 113483] Re: kpf fails to serve file names containing ~
** Changed in: kdenetwork (upstream) Status: Unknown => In Progress -- kpf fails to serve file names containing ~ https://bugs.launchpad.net/bugs/113483 You received this bug notification because you are a member of Kubuntu Team, which is a bug contact for kdenetwork in ubuntu. -- kubuntu-bugs mailing list [EMAIL PROTECTED] https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
[Bug 113483] Re: kpf fails to serve file names containing ~
** Bug watch added: KDE Bug Tracking System #78509 http://bugs.kde.org/show_bug.cgi?id=78509 ** Also affects: kdenetwork (upstream) via http://bugs.kde.org/show_bug.cgi?id=78509 Importance: Unknown Status: Unknown -- kpf fails to serve file names containing ~ https://bugs.launchpad.net/bugs/113483 You received this bug notification because you are a member of Kubuntu Team, which is a bug contact for kdenetwork in ubuntu. -- kubuntu-bugs mailing list [EMAIL PROTECTED] https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
[Bug 113483] Re: kpf fails to serve file names containing ~
I think I have isolated the problem in the source. It is in kdenetwork-3.5.6/kpf/src/Server.cpp lines 252-265: // If there's .. or ~ in the path, we disallow. Either there's a mistake // or someone's trying to [EMAIL PROTECTED] us. I wouldn't have worried about ~ // normally, because I don't do anything with it, so the resource would // simply not be found, but I'm worried that the QDir/QFile/QFileInfo // stuff might try to expand it, so I'm not taking any chances. if (d->request.path().contains("..") || d->request.path().contains('~')) { kpfDebug << d->id << ": readRequest: bogus path" << endl; d->state = Responding; respond(403); emit(readyToWrite(this)); return false; } I am not familiar with KDE development, so I am not sure whether the author is correct that QDir/QFile/QFileInfo expand "~". It seems strange and in any case forbidding all files containing "~" is not the correct solution for sure. I will e-mail the upstream author (which I probably should have done on the first place, before reporting it here). -- kpf fails to serve file names containing ~ https://bugs.launchpad.net/bugs/113483 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs