Bug 496451
Summary: | Custom bash cgi scripts fail with cups 1.3.7-8 | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Opher Shachar <ophers> | ||||
Component: | cups | Assignee: | Tim Waugh <twaugh> | ||||
Status: | CLOSED WONTFIX | QA Contact: | qe-baseos-daemons | ||||
Severity: | high | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 5.3 | CC: | jpopelka, pknirsch | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-03-19 16:13:34 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Opher Shachar
2009-04-19 10:59:26 UTC
I wonder if this might be related to a bug I've investigated recently. I reported it upstream here: http://www.cups.org/str.php?L3194 Does it look like it might be the cause? Hello, I'm not sure. At least the output of strace gives different results for bash and ksh: # echo 'RASHUT=SUPPORT echo -e "Location: /printers/${RASHUT:+?QUERY=$RASHUT} Set-Cookie: RASHUT=${COOKIE:-$RASHUT}; path=/ " >~/a.a'|strace -ewrite -s80 bash write(1, "Location: /printers/?QUERY=SUPPORT\n", 35) = 35 write(1, "Set-Cookie: RASHUT=SUPPORT; path=/\n", 35) = 35 write(1, "\n", 1) = 1 # echo 'RASHUT=SUPPORT echo -e "Location: /printers/${RASHUT:+?QUERY=$RASHUT} Set-Cookie: RASHUT=${COOKIE:-$RASHUT}; path=/ " >~/a.a'|strace -ewrite -s80 ksh write(1, "Location: /printers/?QUERY=SUPPORT\nSet-Cookie: RASHUT=SUPPORT; path=/\n\n", 71) = 71 Are you able to try the patch (str3194.patch) from that CUPS bug report to see if it makes a difference? I see you've also reported STR #3221 -- is that related to this bug at all? Hello, I'll give the patch for STR #3194 a try; It'll take me to the and of this week, though. As for STR #3221, it is unrelated. Any news on testing STR #3194? Thanks & regards, Phil wow ... terribly sorry. It's been more than a week :) I never got to checking this (the workarounds were acceptable). I'll try the patch and post on any news, not this week though. Thanks for the reminder. Opher. Any news? RHEL-5.10 (the next RHEL-5 minor release) is going to be the first production phase 2 [1] release of RHEL-5. Since phase 2 we'll be addressing only security and critical issues. I'm closing this ticket because it's neither security nor critical. [1] https://access.redhat.com/support/policy/updates/errata/ |