Bug #5908

Date.httpdate, rfc2822, and xmlschema mutate their arguments

Added by tenderlovemaking (Aaron Patterson) 4 months ago. Updated 4 months ago.

[ruby-core:42173]
Status:Closed Start date:01/19/2012
Priority:Normal Due date:
Assignee:tadf (tadayoshi funaba) % Done:

0%

Category:-
Target version:-
ruby -v:ruby 2.0.0dev (2012-01-16 trunk 34316) [x86_64-darwin11.2.0]

Description

Date.httpdate, rfc2822, and xmlschema all mutate the string that is passed in. I've attached a patch that fixes the problem along with tests that demonstrate the issue.

datemutate.patch (2.3 kB) tenderlovemaking (Aaron Patterson), 01/19/2012 04:21 am

History

Updated by tadf (tadayoshi funaba) 4 months ago

  • Status changed from Open to Closed
  • Assignee set to tadf (tadayoshi funaba)

Also available in: Atom PDF