cgi script creates a bad uri in web ui
This commit is contained in:
parent
fb0beccc59
commit
5e54701556
13
cups-webui-uri.patch
Normal file
13
cups-webui-uri.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/cgi-bin/admin.c b/cgi-bin/admin.c
|
||||
index a87e6be..4600d33 100644
|
||||
--- a/cgi-bin/admin.c
|
||||
+++ b/cgi-bin/admin.c
|
||||
@@ -974,6 +974,8 @@ do_am_printer(http_t *http, /* I - HTTP connection */
|
||||
|
||||
cgiSetVariable("TEMPLATE_NAME", template);
|
||||
}
|
||||
+
|
||||
+ cgiSetVariable("DEVICE_URI", var);
|
||||
}
|
||||
}
|
||||
|
@ -103,6 +103,9 @@ Patch25: cups-rastertopwg-crash.patch
|
||||
# job for disconnected devices are processing for eternity
|
||||
# https://github.com/apple/cups/pull/5782
|
||||
Patch26: cups-etimedout.patch
|
||||
# cgi script creates a bad uri in web ui
|
||||
# https://github.com/apple/cups/pull/5792
|
||||
Patch27: cups-webui-uri.patch
|
||||
|
||||
# selinux and audit enablement for CUPS - needs work and CUPS upstream wants
|
||||
# to have these features implemented their way in the future
|
||||
@ -319,6 +322,7 @@ to CUPS daemon. This solution will substitute printer drivers and raw queues in
|
||||
# job for disconnected devices are processing for eternity
|
||||
# https://github.com/apple/cups/pull/5782
|
||||
%patch26 -p1 -b .etimedout
|
||||
%patch27 -p1 -b .webui-uri
|
||||
|
||||
#### UPSTREAMED PATCHES ####
|
||||
|
||||
@ -749,6 +753,7 @@ rm -f %{cups_serverbin}/backend/smb
|
||||
%changelog
|
||||
* Thu Jun 11 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1:2.3.3-6
|
||||
- fix patch errors in failover patch
|
||||
- cgi script creates a bad uri in web ui
|
||||
|
||||
* Tue Jun 02 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1:2.3.3-5
|
||||
- remove os ci tests, we use baseos ci
|
||||
|
Loading…
Reference in New Issue
Block a user