Closed
Bug 517293
Opened 16 years ago
Closed 16 years ago
Shouldn't be able to submit empty forum posts
Categories
(support.mozilla.org :: Forum, task)
support.mozilla.org
Forum
Tracking
(Not tracked)
VERIFIED
FIXED
1.4
People
(Reporter: stephend, Assigned: jsocol)
References
()
Details
(Whiteboard: aaq sumo_only)
Attachments
(1 file)
1.96 KB,
patch
|
laura
:
review+
|
Details | Diff | Splinter Review |
I've been able to successfully post empty forum posts; see, e.g.:
http://support-stage.mozilla.org/tiki-view_forum.php?locale=en-US&forumId=1
Reporter | ||
Updated•16 years ago
|
Whiteboard: aaq
Assignee | ||
Comment 1•16 years ago
|
||
This prevent just whitespace from being used in the question field and requires a non-whitespace description on the last step. Neither field has a minimum length.
Attachment #402198 -
Flags: review?(laura)
Comment 2•16 years ago
|
||
Comment on attachment 402198 [details] [diff] [review]
patch, v1
I'd be happier if we added some server side validation to this, but this works fine - if you have time a revised patch would be great.
Attachment #402198 -
Flags: review?(laura) → review+
FWIW, the no-JS form complains appropriately if you leave either of those blank.
http://support-stage.mozilla.org/tiki-ask_a_question.php?locale=en-US&forumId=1
Assignee | ||
Comment 4•16 years ago
|
||
r52167 / r52168
It looks like it does do server-side validation: lines 62 and 157 of tiki-ask_a_question.php.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 5•16 years ago
|
||
Verified FIXED on https://support-stage.mozilla.org/tiki-view_forum.php?locale=en-US&comments_remove=1&comments_threadId=446792&forumId=1&comments_threshold=0&comments_offset=0&thread_sort_mode=lastPost_desc&comments_per_page=20#.
I spun-off bug 518276.
Status: RESOLVED → VERIFIED
Updated•16 years ago
|
Whiteboard: aaq → aaq sumo_only
You need to log in
before you can comment on or make changes to this bug.
Description
•