diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cuirass/http.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cuirass/http.scm b/src/cuirass/http.scm index 48a2b39..94a2f25 100644 --- a/src/cuirass/http.scm +++ b/src/cuirass/http.scm @@ -351,9 +351,9 @@ Hydra format." (("search") (let* ((params (request-parameters request)) - (query (assq-ref params 'query)) - (builds-id-min (db-get-builds-query-min query)) - (builds-id-max (db-get-builds-query-max query)) + (query (and=> (assq-ref params 'query) uri-decode)) + (builds-id-min (and=> query db-get-builds-query-min)) + (builds-id-max (and=> query db-get-builds-query-max)) (border-low-id (assq-ref params 'border-low-id)) (border-high-id (assq-ref params 'border-high-id))) (if query |