bugSamizdat - Bugs: bug #23848, missing REXML::Formatters error...

 
 

bug #23848: missing REXML::Formatters error (NameError) is not caught in 080703-2.sanitize.rb

Submitted by:  Boud Roukema <boud>
Submitted on:  Mon 14 Jul 2008 11:36:43 PM UTC  
 
Category: NoneSeverity: 4 - Important
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 22 Oct 2008 04:39:30 PM UTC, comment #1:

The fix committed to CVS, thanks!

Dmitry Borodaenko <angdraug>
Project Administrator
Mon 14 Jul 2008 11:36:43 PM UTC, original submission:

PROBLEM: The rescue in sanitize.rb fails for 080703-2 installed on debian-etch with ruby-1.8 1.8.5-4etch1:

In other words, the browser gives an error message.

PROPOSED SOLUTION: Use the same rescue if there's a NameError.

COMMENT: This avoids having an error message. i haven't actually checked if the functionality is correct, though since all rendered content should pass through sanitize, i would guess it's OK.

Boud Roukema <boud>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #16162:  080714_sanitize_0.1.patch added by boud (391B - text/x-patch - same solution written as a patch file)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by angdraug (Posted a comment)
  • -unavailable- added by boud (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 22 Oct 2008 04:39:30 PM UTCangdraugStatusWorks For Me=>Fixed
      Open/ClosedOpen=>Closed
    Sat 19 Jul 2008 10:59:10 PM UTCboudAttached File-=>Added 080714_sanitize_0.1.patch, #16162
    Tue 15 Jul 2008 12:55:17 AM UTCboudSummaryBUG in 080703-2.sanitize.rb=>missing REXML::Formatters error (NameError) is not caught in 080703-2.sanitize.rb

    Back to the top


    Powered by Savane 3.1-cleanup1