From c4722084b60d43c29ab0db2728d7998a403107ad Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Tue, 10 Mar 2015 18:31:45 +0000 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake') 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', url(r'^build/(?P\d+)/target/(?P\d+)/targetpkg$', 'targetpkg', name='targetpkg'), url(r'^dentries/build/(?P\d+)/target/(?P\d+)$', 'dirinfo_ajax', name='dirinfo_ajax'), url(r'^build/(?P\d+)/target/(?P\d+)/dirinfo$', 'dirinfo', name='dirinfo'), - url(r'^build/(?P\d+)/target/(?P\d+)/dirinfo_filepath/(?P(?:/[^/\n]+)*)$', 'dirinfo', name='dirinfo_filepath'), + url(r'^build/(?P\d+)/target/(?P\d+)/dirinfo_filepath/_(?P(?:/[^/\n]+)*)$', 'dirinfo', name='dirinfo_filepath'), url(r'^build/(?P\d+)/target/(?P\d+)/packages$', 'tpackage', name='targetpackages'), url(r'^build/(?P\d+)/configuration$', 'configuration', name='configuration'), url(r'^build/(?P\d+)/configvars$', 'configvars', name='configvars'), -- cgit v1.2.3-54-g00ecf