Closed
Bug 401118
Opened 18 years ago
Closed 18 years ago
Form submit does NOT work when action="mailto:..." and size exceeds a certain limit.
Categories
(Toolkit :: Form Manager, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 253311
People
(Reporter: john.duprey, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8
Form submit does NOT work when action="mailto:..." and size exceeds a certain limit.
I have a special case form that must be submitted to a mailto: URL. This works fine in Internet Explorer, MS Outlook, Mac Safari, and even Firefox 4.0.0.8 WHEN the size of the form is below a certain limit. However, when the size grows just one character beyond this limit, clicking the submit button has no effect. There is no error message in the error console either.
About the size limit. My entire HTML file is only 6,429 bytes. The actual form data to POST is ~1477 bytes.
This only seems to be a problem with the Windows version 4.0.0.8 and higher. On the Mac (PowerPC - Tiger) both 4.0.0.6 and 4.0.0.8 worked with out a problem with and on a much larger version of the form (72235 bytes html file, and 7628 of actual POST data. ). The latest Safari (beta) also worked.
I have tested this on the latest nightly build and with a new profile as well with the same results: firefox-3.0a9pre.en-US.win32.zip 25-Oct-2007 05:16 8.9M
It isn't typical to post via mailto:, but this form is a special case scenario and technically should be allowed.
I don't see an option to upload a file so I will paste the HTML below. The following HTML **WORKS** to make it **NOT** work simply add a few characters to the form input. For example add a "fg" to the LAST text area: <textarea readonly="readonly" rows="3" cols="40" name="search2">abcde[fg]</textarea>.
The complete HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content=
"HTML Tidy for Windows (vers 14 February 2006), see www.w3.org" />
<title>Fermi Report</title>
</head>
<body>
<!-- JWD From BEGIN -->
<form method="post" enctype="text/plain" accept-charset="UTF-8"
action=
"mailto:John.Duprey@Thomson.com?subject=POST:%20Feedback%20for%20Fermi%20report%20B6af6de49429a414494bd3a3ea524176e">
<textarea readonly="readonly" rows="3" cols="40" name="search">
careless driving road rage passing on shoulder
</textarea>
<br />
<input type="text" name="jurisdicitions" readonly="readonly" size=
"40" value="Minnesota State" /><br />
<input type="text" size="40" name="feedbackID" readonly="readonly"
value="B6af6de49429a414494bd3a3ea524176e" />
<ol><!-- JWD: Recommendation Feedback BEGIN -->
<li><input type="hidden" name="case_rec_1_id" value="1981131339" />
<input type="hidden" name="case_rec_1_score" value="3.132504" />
<select name="case_rec_1_feedback_grade">
<option>-</option>
<option>A</option>
<option>C</option>
<option>F</option>
</select>
<textarea name="case_rec_1_feedback_comments" rows="3" cols="40">
</textarea></li>
<!-- JWD: Recommendation Feedback END -->
<!-- JWD: Recommendation Feedback BEGIN -->
<li><input type="hidden" name="case_rec_2_id" value="1981131339" />
<input type="hidden" name="case_rec_2_score" value="3.132504" />
<select name="case_rec_2_feedback_grade">
<option>-</option>
<option>A</option>
<option>C</option>
<option>F</option>
</select>
<textarea name="case_rec_2_feedback_comments" rows="3" cols="40">
</textarea></li>
<!-- JWD: Recommendation Feedback BEGIN -->
<li><input type="hidden" name="case_rec_3_id" value="1981131339" />
<input type="hidden" name="case_rec_3_score" value="3.132504" />
<select name="case_rec_3_feedback_grade">
<option>-</option>
<option>A</option>
<option>C</option>
<option>F</option>
</select>
<textarea name="case_rec_3_feedback_comments" rows="3" cols="40">
</textarea></li>
<!-- JWD: Recommendation Feedback END -->
<!-- JWD: Recommendation Feedback BEGIN -->
<li><input type="hidden" name="case_rec_4_id" value="1981131339" />
<input type="hidden" name="case_rec_4_score" value="3.132504" />
<select name="case_rec_4_feedback_grade">
<option>-</option>
<option>A</option>
<option>C</option>
<option>F</option>
</select>
<textarea name="case_rec_4_feedback_comments" rows="3" cols="40">
</textarea></li>
<!-- JWD: Recommendation Feedback END -->
<!-- JWD: Recommendation Feedback BEGIN -->
<li><input type="hidden" name="case_rec_5_id" value="1981131339" />
<input type="hidden" name="case_rec_5_score" value="3.132504" />
<select name="case_rec_5_feedback_grade">
<option>-</option>
<option>A</option>
<option>C</option>
<option>F</option>
</select>
<textarea name="case_rec_5_feedback_comments" rows="3" cols="40">
</textarea></li>
<!-- JWD: Recommendation Feedback END -->
<!-- JWD: Recommendation Feedback BEGIN -->
<li><input type="hidden" name="case_rec_6_id" value="1981131339" />
<input type="hidden" name="case_rec_6_score" value="3.132504" />
<select name="case_rec_6_feedback_grade">
<option>-</option>
<option>A</option>
<option>C</option>
<option>F</option>
</select>
<textarea name="case_rec_6_feedback_comments" rows="3" cols="40">
</textarea></li>
<!-- JWD: Recommendation Feedback END -->
<!-- JWD: Recommendation Feedback BEGIN -->
<li><input type="hidden" name="case_rec_7_id" value="1981131339" />
<input type="hidden" name="case_rec_7_score" value="3.132504" />
<select name="case_rec_7_feedback_grade">
<option>-</option>
<option>A</option>
<option>C</option>
<option>F</option>
</select>
<textarea name="case_rec_7_feedback_comments" rows="3" cols="40">
</textarea></li>
<!-- JWD: Recommendation Feedback END -->
<!-- JWD: Recommendation Feedback BEGIN -->
<li><input type="hidden" name="case_rec_8_id" value="1981131339" />
<input type="hidden" name="case_rec_8_score" value="3.132504" />
<select name="case_rec_8_feedback_grade">
<option>-</option>
<option>A</option>
<option>C</option>
<option>F</option>
</select>
<textarea name="case_rec_8_feedback_comments" rows="3" cols="40">
</textarea></li>
<!-- JWD: Recommendation Feedback END -->
<!-- JWD: Recommendation Feedback BEGIN -->
<li><input type="hidden" name="case_rec_9_id" value="1981131339" />
<input type="hidden" name="case_rec_9_score" value="3.132504" />
<select name="case_rec_9_feedback_grade">
<option>-</option>
<option>A</option>
<option>C</option>
<option>F</option>
</select>
<textarea name="case_rec_9_feedback_comments" rows="3" cols="40">
</textarea></li>
<!-- JWD: Recommendation Feedback END -->
<!-- JWD: Recommendation Feedback BEGIN -->
<li><input type="hidden" name="case_rec_10_id" value=
"1981131339" /> <input type="hidden" name="case_rec_10_score"
value="3.132504" /> <select name="case_rec_10_feedback_grade">
<option>-</option>
<option>A</option>
<option>C</option>
<option>F</option>
</select>
<textarea name="case_rec_10_feedback_comments" rows="3" cols="40">
</textarea></li>
<!-- JWD: Recommendation Feedback END -->
<!-- JWD: Recommendation Feedback BEGIN -->
<li><input type="hidden" name="case_rec_11_id" value=
"1981131339" /> <input type="hidden" name="case_rec_11_score"
value="3.132504" /> <select name="case_rec_11_feedback_grade">
<option>-</option>
<option>A</option>
<option>C</option>
<option>F</option>
</select>
<textarea name="case_rec_11_feedback_comments" rows="3" cols="40">
</textarea></li>
<!-- JWD: Recommendation Feedback END -->
<!-- JWD: Recommendation Feedback BEGIN -->
<li><input type="hidden" name="case_rec_12_id" value=
"1981131339" /> <input type="hidden" name="case_rec_12_score"
value="3.132504" /> <select name="case_rec_12_feedback_grade">
<option>-</option>
<option>A</option>
<option>C</option>
<option>F</option>
</select>
<textarea name="case_rec_12_feedback_comments" rows="3" cols="40">
</textarea></li>
<!-- JWD: Recommendation Feedback END --></ol>
<textarea readonly="readonly" rows="3" cols="40" name="search2">abcde</textarea>
<hr />
<!-- JWD: Recommendation Feedback END -->
<input type="submit" value="Submit Feedback" /></form>
</body>
</html>
Reproducible: Always
Steps to Reproduce:
1. Load a form with a mailto: action and a POST method:
<form method="post" enctype="text/plain" accept-charset="UTF-8"
action=
"mailto:John.Duprey@Thomson.com?subject=POST:%20Feedback%20for%20Fermi%20report%20B6af6de49429a414494bd3a3ea524176e">
<textarea readonly="readonly" rows="3" cols="40" name="search">
2. Add 30 or so form elements
3. Click the submit button. Nothing happens - no post, no e-mail.
Actual Results:
Nothing
Expected Results:
Upon submit, an e-mail composer window should pop-up with post data in the body.
Updated•18 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
| Assignee | ||
Updated•17 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•