Activity log for bug #1732485

Date Who What changed Old value New value Message
2017-11-15 15:59:53 Jason Stephenson bug added bug
2017-11-15 15:59:53 Jason Stephenson attachment added Patch for HTTP::Body::XForms https://bugs.launchpad.net/bugs/1732485/+attachment/5009525/+files/HTTP-Body-XForms.patch
2017-11-15 16:00:55 Jason Stephenson bug task added libdancer-perl (Ubuntu)
2017-11-15 16:01:21 Jason Stephenson summary Crash with mime type text/xml on recent distros Crash with mime type application/xml on recent distros
2017-11-15 16:20:55 Ubuntu Foundations Team Bug Bot tags patch
2017-11-15 16:21:01 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2017-11-15 16:26:03 Jason Stephenson description NCIPServer will crash on Ubuntu 16.04 if data is posted with mime type of application/x-www-form-urlencoded or application/xml. This is because of changes made to Dancer that do not work with certain modules from HTTP::Body which Daner requires. I believe that this will also happen on Debian 8 Jessie and Debian 9 Stretch, but I have not thoroughly tested it on those distributions. A long term fix for this issue would be to implement bug 1673974 and remove the dependency on Dancer 1. Another possible long term fix would be to move to Dancer 2. In the meantime, you can apply the attached patch to /usr/share/perl5/HTTP/Body/XForms.pm. This is not an actual bug in NCIPServer, but a bug in a dependency that shows up as a bug in NCIPServer. :) NCIPServer will crash on Ubuntu 16.04 if data is posted with mime type of application/xml. This is because of changes made to Dancer that do not work with certain modules from HTTP::Body which Daner requires. I believe that this will also happen on Debian 8 Jessie and Debian 9 Stretch, but I have not thoroughly tested it on those distributions. A long term fix for this issue would be to implement bug 1673974 and remove the dependency on Dancer 1. Another possible long term fix would be to move to Dancer 2. In the meantime, you can apply the attached patch to /usr/share/perl5/HTTP/Body/XForms.pm. This is not an actual bug in NCIPServer, but a bug in a dependency that shows up as a bug in NCIPServer. :)
2021-06-10 14:35:44 Launchpad Janitor libdancer-perl (Ubuntu): status New Confirmed