diff options
author | Zdenek Dohnal <zdohnal@redhat.com> | 2020-06-08 14:44:24 +0200 |
---|---|---|
committer | Zdenek Dohnal <zdohnal@redhat.com> | 2020-09-14 11:14:46 +0200 |
commit | f961941241edb537d884248bf1f9a496202049b4 (patch) | |
tree | f11e9ef35b22d362a38f790f868a211ca54e0561 /cgi-bin | |
parent | b76a7f5a77b121518ed0ef6fe3abb979598ce7be (diff) |
Web interface: Set the actual device uri, not device_uri|make_model string from html form
Diffstat (limited to 'cgi-bin')
-rw-r--r-- | cgi-bin/admin.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cgi-bin/admin.c b/cgi-bin/admin.c index f087809f7..1683f987b 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); } } |