summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-03-10 18:31:45 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-16 17:44:09 +0000
commitc4722084b60d43c29ab0db2728d7998a403107ad (patch)
treee98b902186937af72a40a7d8ba50f797f9e341bf /bitbake
parent193989cec807120307cda50c616118dca4025b8a (diff)
downloadpoky-c4722084b60d43c29ab0db2728d7998a403107ad.tar.gz
bitbake: 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. (Bitbake rev: 965e2a2cc32d196c9d595ea89c45a84bd46ba2fe) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/toastergui/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/urls.py b/bitbake/lib/toaster/toastergui/urls.py
index 8a7fef1dee..76357e3b80 100644
--- a/bitbake/lib/toaster/toastergui/urls.py
+++ b/bitbake/lib/toaster/toastergui/urls.py
@@ -55,7 +55,7 @@ urlpatterns = patterns('toastergui.views',
55 url(r'^build/(?P<build_id>\d+)/target/(?P<target_id>\d+)/targetpkg$', 'targetpkg', name='targetpkg'), 55 url(r'^build/(?P<build_id>\d+)/target/(?P<target_id>\d+)/targetpkg$', 'targetpkg', name='targetpkg'),
56 url(r'^dentries/build/(?P<build_id>\d+)/target/(?P<target_id>\d+)$', 'dirinfo_ajax', name='dirinfo_ajax'), 56 url(r'^dentries/build/(?P<build_id>\d+)/target/(?P<target_id>\d+)$', 'dirinfo_ajax', name='dirinfo_ajax'),
57 url(r'^build/(?P<build_id>\d+)/target/(?P<target_id>\d+)/dirinfo$', 'dirinfo', name='dirinfo'), 57 url(r'^build/(?P<build_id>\d+)/target/(?P<target_id>\d+)/dirinfo$', 'dirinfo', name='dirinfo'),
58 url(r'^build/(?P<build_id>\d+)/target/(?P<target_id>\d+)/dirinfo_filepath/(?P<file_path>(?:/[^/\n]+)*)$', 'dirinfo', name='dirinfo_filepath'), 58 url(r'^build/(?P<build_id>\d+)/target/(?P<target_id>\d+)/dirinfo_filepath/_(?P<file_path>(?:/[^/\n]+)*)$', 'dirinfo', name='dirinfo_filepath'),
59 url(r'^build/(?P<build_id>\d+)/target/(?P<target_id>\d+)/packages$', 'tpackage', name='targetpackages'), 59 url(r'^build/(?P<build_id>\d+)/target/(?P<target_id>\d+)/packages$', 'tpackage', name='targetpackages'),
60 url(r'^build/(?P<build_id>\d+)/configuration$', 'configuration', name='configuration'), 60 url(r'^build/(?P<build_id>\d+)/configuration$', 'configuration', name='configuration'),
61 url(r'^build/(?P<build_id>\d+)/configvars$', 'configvars', name='configvars'), 61 url(r'^build/(?P<build_id>\d+)/configvars$', 'configvars', name='configvars'),