From: noreply@... Date: 2004-10-30T00:03:11+09:00 Subject: [ ruby-Bugs-999 ] CGI: multipart forms, image buttons, and MSIE Mac OS X Bugs item #999, was opened at 2004-10-28 13:18 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=999&group_id=426 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Francis Hwang (francis) Assigned to: Yukihiro Matsumoto (matz) Summary: CGI: multipart forms, image buttons, and MSIE Mac OS X Initial Comment: If you have a receiving a POST from a form with image buttons, you're supposed to be able to find out which image which was clicked by the user. But I find that if I have a multipart form with image buttons, and the user is using MSIE Mac OS X, that information cannot be retrieved. Here's the form I wrote:

Small:
And here's the receiving script I wrote: puts "Content-type: text/html\n\n" cgi = CGI.new puts "
text: #{ cgi['text'].readlines.join( "\n" ) }" puts "
button.x: #{ cgi['button.x'].readlines.join( "\n" ) }" puts "
button.y: #{ cgi['button.y'].readlines.join( "\n" ) }" puts "
button: #{ cgi['button'].readlines.join( "\n" ) }" This works in Safari on OS X, but not MSIE. I also tried a similar PHP script and had no problems. ---------------------------------------------------------------------- >Comment By: Tom Copeland (tom) Date: 2004-10-29 15:01 Message: Logged In: YES user_id=102 A test of the new email "To" field... pls disregard... Tom ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=999&group_id=426