Open
Bug 29271
Opened 25 years ago
Updated 2 years ago
Need a warning dialog for non-matching charset in form posting
Categories
(Core :: DOM: Core & HTML, defect, P3)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: ftang, Unassigned)
References
Details
(Keywords: intl)
If we type some text in form but the text cannot convert to the document charset, it will be nice we warn the user and provide the following information 1. It try to post as charset XXXX 2. The following field name YYY have text ZZZZ which cannot be represent as charset XXXX and will be change to LLLL 3. Provide two choice- [Do not submit] [Submit it anyway]
Reporter | ||
Updated•25 years ago
|
Target Milestone: M17
Reporter | ||
Comment 2•24 years ago
|
||
jbetak- you probably can help since you are now familar with the form posting code. Please look at how wallet and security code file prompt dialogbox at the form posting code.
Assignee: ftang → jbetak
Status: ASSIGNED → NEW
Updated•24 years ago
|
Status: NEW → ASSIGNED
Comment 3•24 years ago
|
||
reassigning to ftang for resource reallocation
Assignee: jbetak → ftang
Status: ASSIGNED → NEW
Reporter | ||
Comment 5•24 years ago
|
||
nhotta- can you teach me how to throw a warning dialog ?
Comment 6•24 years ago
|
||
Mail code uses nsIPrompt::Confirm() for alert. http://lxr.mozilla.org/seamonkey/source/mailnews/compose/src/nsMsgPrompts.cpp
Reporter | ||
Comment 8•24 years ago
|
||
nhotta, can you add this ? reassign browser related bug to nhotta.
Assignee: ftang → nhotta
Status: ASSIGNED → NEW
Target Milestone: M17 → ---
Comment 9•24 years ago
|
||
what will the data in question (ZZZZ) be converted to? would it make sense to warn the user when they typed it in instead of when they submitted it?
Updated•23 years ago
|
Status: NEW → ASSIGNED
Comment 11•23 years ago
|
||
NAOKI: could you take a look at this one please? I have bug 70838 assigned to me and that one has a miletone set. If you cannot take care about this bug, go ahead and reassign it to me. Thx!
Comment 12•23 years ago
|
||
We need to check the error code NS_ERROR_UENC_NOMAPPING of nsIUnicodeEncoder::Conver(). http://lxr.mozilla.org/seamonkey/source/content/html/content/src/nsFormSubmitter.cpp#1312 But I have no idea how to post alert in that code. Alexandru, do you have any idea?
Keywords: intl
Comment 13•23 years ago
|
||
cc to alexsavulov@netscape.com, please see my last comment.
Comment 14•23 years ago
|
||
Naoki: I'm looking at it. As soon as I have a wayto do that i'll let you know.
Comment 15•23 years ago
|
||
Naoki: Unfortuantely the source code of nsFormSubmitter.cpp changed after j.keisers checkin. However since then there is a piece of code that opens a notification dialog. If that's what you need then loock in nsFormSubmitter::OnSubmit after 398 nsresult notifyStatus = formSubmitObserver->Notify(formElement, 399 window, 400 actionURL, 401 &cancelSubmit); Hope this helps!
Comment 16•23 years ago
|
||
Okay, I will look intot this 0.9.8.
Target Milestone: Future → mozilla0.9.8
Updated•23 years ago
|
Target Milestone: mozilla0.9.8 → ---
Updated•23 years ago
|
Target Milestone: --- → mozilla1.2
Updated•22 years ago
|
Target Milestone: mozilla1.2alpha → ---
Comment 17•22 years ago
|
||
*** Bug 189275 has been marked as a duplicate of this bug. ***
Comment 18•22 years ago
|
||
are there any news on this? You said you'll look at it more than 2 years ago ;-)
Updated•15 years ago
|
QA Contact: vladimire → form-submission
Assignee | ||
Updated•5 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
Comment 19•2 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.
Assignee: nhottanscp → nobody
Status: ASSIGNED → NEW
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•