layerindex-web/layerindex
Paul Eggleton 7eea41de30 recipes: improved support for queries containing quotes
Use shlex.split() to split the query string so that quotes can be used
to delimit strings containing spaces to be matched as a whole. This
worked with the previous code, but it did not support single quotes -
these caused an error in Django's filter code and thus an internal
server error (as did querying for ""). Add some additional checks for
single quotes as it is still possible to get them past shlex.split()
e.g. with something like "'hello'" (with quotes).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2019-11-21 02:51:30 +13:00
..
migrations Add recipe dependencies tool 2019-11-21 02:51:30 +13:00
static Drop LICENSE.diff2html 2019-11-21 02:51:30 +13:00
templatetags Replace custom pagination with django-bootstrap-pagination 2019-07-17 11:31:04 +12:00
tools editlayer: Be more specific on the searches 2019-10-14 09:20:33 +13:00
__init__.py Initial commit of layerindex-web 2013-02-13 12:09:57 +00:00
admin.py Add recipe dependencies tool 2019-11-21 02:51:30 +13:00
auth_forms.py Optionally allow accounts without security questions to reset password 2019-07-25 16:25:06 +12:00
auth_views.py Optionally allow accounts without security questions to reset password 2019-07-25 16:25:06 +12:00
bulkchange.py update.py: Allow bitbake to live in a subdirectory of a repository 2019-10-14 09:20:14 +13:00
context_processors.py Fix admin logout login button redirection 2019-07-25 16:25:06 +12:00
forms.py Add recipe dependencies tool 2019-11-21 02:51:30 +13:00
layerconfparse.py update.py: Allow bitbake to live in a subdirectory of a repository 2019-10-14 09:20:14 +13:00
middleware.py Fix axes lockout not working 2019-07-17 11:31:04 +12:00
models.py Add recipe dependencies tool 2019-11-21 02:51:30 +13:00
querysethelper.py Replace usage of model._meta.get_all_field_names() 2018-04-24 10:15:47 +12:00
recipedesc.py layerindex: Update tinfoil to call shutdown method 2017-01-11 21:56:35 +13:00
recipeparse.py Add recipe dependencies tool 2019-11-21 02:51:30 +13:00
restperm.py expose REST API for layerindex 2014-09-24 11:32:34 +01:00
restviews.py API: fix recipes API performance regression 2019-09-16 17:14:25 +12:00
securityquestions.py Add user security questions 2019-07-17 11:30:56 +12:00
tasks.py More shell quoting 2019-07-17 11:31:04 +12:00
update_layer.py Add recipe dependencies tool 2019-11-21 02:51:30 +13:00
update.py update: fix exception with -x/--nofetch option 2019-11-21 02:51:30 +13:00
urls_branch.py Add ability to trigger comparison updates manually from UI 2018-08-13 16:04:14 +02:00
urls.py Add recipe dependencies tool 2019-11-21 02:51:30 +13:00
utils.py Try to make running background commands more responsive 2019-07-17 11:31:04 +12:00
views.py recipes: improved support for queries containing quotes 2019-11-21 02:51:30 +13:00