V2.8.7: Specific string is not added to database

Please report bugs here!

Moderator: Thorsten

Post Reply
rap
Posts: 5
Joined: Mon Mar 10, 2014 4:22 pm

V2.8.7: Specific string is not added to database

Post by rap »

Hello, this is my first entry in the forum and I want to say thank you for this wonderful project.
Now I want to describe my mysterious problem.
After I added about 100 entries in the database (I did a lot of copy/paste from another database), It was not possible to add a new FAQ.
Every time I get the information "Required fields are your name, your email address, category, question, your Record and, when requested, the Captcha code!:.
If I only store "Your question: test" and "Your answer: test" in addition to my name, email and category, all is working fine.
If I want to store the answer "SCT stands for SSD candidate", I get the error message described above.
More investigation shows that it has something to do with "did" string inside "candidate". If I store "SCT stands for SSD candedate", all is working fine.
Really very mysterious ...
Any hints are welcome.
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: V2.8.7: Specific string is not added to database

Post by Thorsten »

Hi,

I'll check it.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
rap
Posts: 5
Joined: Mon Mar 10, 2014 4:22 pm

Re: V2.8.7: Specific string is not added to database

Post by rap »

Hi Thorsten,

I reproduced the problem on http://demo.phpmyfaq.de/
Please can you also check the behavior and perhaps you have a answer for this problem.

Thanks, Rainer
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: V2.8.7: Specific string is not added to database

Post by Thorsten »

Hi,

somehow our bad word filter applies on the string "SCT stands for SSD candidate"... I'll check why.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: V2.8.7: Specific string is not added to database

Post by Thorsten »

Hi,

this is the fix: https://github.com/thorsten/phpMyFAQ/co ... 27ff5abd39

Thanks for the hint!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
rap
Posts: 5
Joined: Mon Mar 10, 2014 4:22 pm

Re: V2.8.7: Specific string is not added to database

Post by rap »

Hi Thorsten,
now it works fine.
Thanks a lot for this fix !!
Post Reply