From f961941241edb537d884248bf1f9a496202049b4 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Mon, 8 Jun 2020 14:44:24 +0200 Subject: [PATCH] Web interface: Set the actual device uri, not device_uri|make_model string from html form --- cgi-bin/admin.c | 7 +++++++ 1 file changed, 7 insertions(+) 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); } } -- 2.47.2