]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Web interface: Set the actual device uri, not device_uri|make_model string from html... 4/head
authorZdenek Dohnal <zdohnal@redhat.com>
Mon, 8 Jun 2020 12:44:24 +0000 (14:44 +0200)
committerZdenek Dohnal <zdohnal@redhat.com>
Mon, 14 Sep 2020 09:14:46 +0000 (11:14 +0200)
cgi-bin/admin.c

index f087809f7cf1e3d6298cf84daed90fb844869f0e..1683f987b13f838cf49d5f6ba2f11521fc95471c 100644 (file)
@@ -763,6 +763,13 @@ do_am_printer(http_t *http,                /* I - HTTP connection */
 
         cgiSetVariable("TEMPLATE_NAME", template);
       }
+
+     /*
+      * Set DEVICE_URI to the actual device uri, without make and model from
+      * html form.
+      */
+
+      cgiSetVariable("DEVICE_URI", var);
     }
   }