Ticket #98 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Camping is outputting one too many Z after the headers

Reported by: mst Owned by: somebody
Priority: critical Milestone: Camping 1.6
Component: camping.rb Version: 1.5
Keywords: Cc:

Description

It turned out the defect was in Base.to_s.

{"Content-Type"=>"text/html", "Set-Cookie"=>[]}.map{|k,v| [*v].map{|x|"#{k}: #{x}"}}
=> [["Content-Type: text/html"], []]

If you []*Z you get one Z too many. This problem doesn't show up for application which set Cookies for obvious reasons (:

Attachments

camping_zzz.diff (1.4 kB) - added by mst 2 years ago.

Change History

Changed 2 years ago by mst

Changed 2 years ago by why

  • status changed from new to closed
  • version set to 1.5
  • resolution set to fixed
  • milestone set to Camping 1.6

Hey, alright, good. Thankyou, it's fixed in [171].

Note: See TracTickets for help on using tickets.