GetSimple Support Forum
Forum: incomplete submits and security questions - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Off Topic (http://get-simple.info/forums/forumdisplay.php?fid=12)
+--- Thread: Forum: incomplete submits and security questions (/showthread.php?tid=2129)



Forum: incomplete submits and security questions - mvlcek - 2011-09-01

I've noticed that in the last about two weeks often only part of a reply is committed to the forum.
For me it mostly happens if I have to enter the security question in between.
(Often I see it at once because I get an error, if the text dropped contains a required bbcode end tag)

Also on one of my computers (Windows 7, Firefox) answering the security question after submitting a post only displays another security question and so on. I can only save the post by pressing F5 (refresh) after an answered question or going back and submitting the post again.


Forum: incomplete submits and security questions - Connie - 2011-09-01

I saw the same situation, but I did not encounter it myself

but it started to happen in the last 2 weeks or so


Forum: incomplete submits and security questions - ccagle8 - 2011-09-01

i think its a spam prevention plugin that we are using... the sad part is that it has cut down the spam registrations from 100+ to 30 or so... so its useful... but its causing this problem.

Someone once mentioned that they think it happened when they put a & in their post


Forum: incomplete submits and security questions - polyfragmented - 2011-09-01

I encountered mvlcek's described problem with the perpetual security questions once as well.


Forum: incomplete submits and security questions - Vulch - 2011-09-01

ccagle8 Wrote:Someone once mentioned that they think it happened when they put a & in their post
Might have been me. If it's the same plugin as you were using earlier in the year it doesn't pass some of the special characters through properly but I forget which one...

I could test though!

Double quote

Edit: And there we go, should have been a double quote at the end of that line, plus lines saying Single quote and Ampersand with the appropriate symbols...


Forum: incomplete submits and security questions - ccagle8 - 2011-09-01

Here is the plugin that works pretty well to stop spam... but causes this partial posting problem. If anyone could find the problem... id be very grateful.


Forum: incomplete submits and security questions - mvlcek - 2011-09-02

Vulch Wrote:Double quote

Edit: And there we go, should have been a double quote at the end of that line, plus lines saying Single quote and Ampersand with the appropriate symbols...

Yes, I can confirm that everything after double quotes is removed.


Forum: incomplete submits and security questions - Vulch - 2011-09-02

ccagle8 Wrote:Here is the plugin that works pretty well to stop spam... but causes this partial posting problem. If anyone could find the problem... id be very grateful.
In pun_stop_bots/views/question_page.php change line 22 from...
Code:
<input name="<?php echo $hidden_key; ?>" value="<?php echo $hidden_value; ?>" type="hidden">
...to...
Code:
<input name="<?php echo $hidden_key; ?>" value="<?php echo htmlspecialchars($hidden_value); ?>" type="hidden">
...which seems to fix it without breaking things later.

The problem seems to be the text is put unquoted as the value attribute of a hidden input field, so the double quote terminates the attribute leaving the rest of the text dangling.


Forum: incomplete submits and security questions - ccagle8 - 2011-09-02

Thanks Vulch...i've updated the plugin so lets see what happens!