]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
toastergui: dirinfo needs path separation
authorAlexandru DAMIAN <alexandru.damian@intel.com>
Tue, 10 Mar 2015 18:31:45 +0000 (18:31 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Mar 2015 17:43:51 +0000 (17:43 +0000)
commit965e2a2cc32d196c9d595ea89c45a84bd46ba2fe
tree7af0993bc865cb446bf0b507a11ae72212696631
parenta1ad86febb9d8a4ee7f15aa726f267d64b8e0dc4
toastergui: dirinfo needs path separation

In the dirinfo URLs we use the "/" separator for directory
separation which coincides with the "/" separator in HTTP URIs.

This is not a problem, but we must not have consecutive "/"
characters as the web servers will conflate those - we add
a "_" delimitator to separate the Django managed URL from the
dirpath parameter, while maintaining the unique ID of REST urls.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
lib/toaster/toastergui/urls.py