From: Zdenek Dohnal Date: Mon, 8 Jun 2020 12:44:24 +0000 (+0200) Subject: Web interface: Set the actual device uri, not device_uri|make_model string from html... X-Git-Tag: v2.3.3op1~87^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4%2Fhead;p=thirdparty%2Fcups.git Web interface: Set the actual device uri, not device_uri|make_model string from html form --- diff --git a/cgi-bin/admin.c b/cgi-bin/admin.c index f087809f7c..1683f987b1 100644 --- a/cgi-bin/admin.c +++ b/cgi-bin/admin.c @@ -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); } }