rpm -i http://server/url?param issues.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I need some people to review our patch to this issue (Bug 143885).

We publish our software as RPMs for our customers, who fetch it from our 
web server, but when they need to pass parameters to the server as part of 
the HTTP GET request rpm thinks it is a file system GLOB and tries to match 
them. We have disabled globing for HTTP in this patch.

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=143885
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=110821&action=view

Thanks

Jason Pyeron


--- lib/misc.c.orig	2003-06-04 14:14:07.000000000 -0400
+++ lib/misc.c	2005-02-08 15:59:07.000000000 -0500
@@ -249,7 +249,7 @@
     char c;
     int open = 0;
   
-    (void) urlPath(patternURL, &p);
+    if (urlPath(patternURL, &p)==URL_IS_HTTP) return 0;
     while ((c = *p++) != '\0')
 	switch (c) {
 	case '+':





-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Partner & Sr. Manager              #1 2739 Saint Paul Street  -
- +1 (410) 808-6646 (c)              Baltimore, Maryland 21218  -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain 
privileged, proprietary, or otherwise private information. If you 
have received it in error, purge the message from your system and 
notify the sender immediately.  Any other use of the email by you 
is prohibited.



_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux