[Bug 1717615] Re: encoded slashes being blocked by Apache

Xav Paice xav.paice at canonical.com
Mon Sep 18 21:46:57 UTC 2017


I've added Heat and the Ubuntu Cloud Archive packages to this bug since
the actual Apache config appears to be coming from the package itself.
The charm cowboy applied to make the manual change stick was a
charmhelpers change.

In charm/hooks/charmhelpers/contrib/openstack/templates, add:

{% if ext == "7994" %} AllowEncodedSlashes On {% endif %}

FWIW, Xenial, Mitaka.

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1717615

Title:
  encoded slashes being blocked by Apache

Status in OpenStack heat charm:
  Triaged
Status in Ubuntu Cloud Archive:
  New
Status in OpenStack Heat:
  New

Bug description:
  We came across a situation where we were unable to view resources in a
  stack inside Horizon. We traced it down to a communication problem
  with the Heat Apache frontend and Heat. After adjusting the log level
  for Apache, we came across the following error in the logs:

  [client 213.173.193.177:33920] AH00026: found %2f (encoded '/') in URI
  (decoded='/v1/c064a39d602d4f42bc49e09057c97683/stacks/heat_test_foo/b5c125a3-d452-49a1-
  a12e-03e098fbb38c/resources/foo_vm-01'), returning 404

  As a workaround, we currently added the following line to the
  /etc/apache/sites-enabled/openstack-https_frontend.conf on our Heat
  instance:

  AllowEncodedSlashes On

  It is worth noting we tried to use the NoDecode option as well and
  that is didn't resolve the problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-heat/+bug/1717615/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list