Bug 85689

Summary: Squirrelmail xss patch from latetst errrata causes parse error
Product: [Retired] Red Hat Linux Reporter: Darrin Yeager <dyeager>
Component: squirrelmailAssignee: Gary Benson <gbenson>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-21 01:53:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Darrin Yeager 2003-03-06 00:22:21 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130

Description of problem:
Line 308 of the xss-patch has a parse error after being applied. The offending
line of the patch is:

+    $filename = 'untitled' . strip_tags($passed_ent_id) .$suffix);

which obviously won't parse by php.

Change line in patch to:

+    $filename = 'untitled' . strip_tags($passed_ent_id) . $suffix;

rebuild RPM and re-install.



Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Install new squirrel mail RPM
2. Try to download an attachemnt
3. Parse error in download.php - this was caused by the xss patch.
    

Additional info:

Comment 1 Darrin Yeager 2003-03-06 00:37:13 UTC
Found Bug 82600 that appears to be the same as this one. It says it was fixed in
 1.2.10-4, yet errata release (RHSA-2003:042-07) has 1.2.10-1. 

Comment 2 Gary Benson 2003-03-06 09:54:24 UTC
1.2.10-4 is in Rawhide.

*** This bug has been marked as a duplicate of 82600 ***