20688: Fix quoting issue
[arvados.git] / tools / arvbox / lib / arvbox / docker / service / nginx / run
index 272a6040cee27f07735aa3d22b7b876dcc77ae35..ec889e7dd9d173b668fe190b75be446504fa1de7 100755 (executable)
@@ -161,10 +161,10 @@ http {
     rewrite ^/groups/(.*) /group/$1 redirect;
 
     # Special file download redirects
-    if ($arg_disposition = attachment) {
+    if (\$arg_disposition = attachment) {
       rewrite ^/collections/([^/]*)/(.*) /?redirectToDownload=/c=$1/$2? redirect;
     }
-    if ($arg_disposition = inline) {
+    if (\$arg_disposition = inline) {
       rewrite ^/collections/([^/]*)/(.*) /?redirectToPreview=/c=$1/$2? redirect;
     }