Project

General

Profile

Bug #5908

Date.httpdate, rfc2822, and xmlschema mutate their arguments

Added by Aaron Patterson over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
ruby -v:
ruby 2.0.0dev (2012-01-16 trunk 34316) [x86_64-darwin11.2.0]
[ruby-core:42173]

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 View (2.27 KB) Aaron Patterson, 01/19/2012 04:21 AM

History

#1 [ruby-core:42175] Updated by tadayoshi funaba over 4 years ago

  • Status changed from Open to Closed
  • Assignee set to tadayoshi funaba

Also available in: Atom PDF