Hi:
When trying to update or add information into any of the fields in the profile of a user (myself included) I get the following error:
The following errors occurred when trying to save your profile
HTML tags are not allowed
I can replicate this error with fresh SMF 2.1.2 files (but using my previous database).
Any help will be greatly appreciated. Thank you.
Kind regards.
UPDATE: I have just registered a new test user and can change its fields without errors. I have tried to compare the data registered in the MySQL database of my user and the new user and I am completely unable to find anything weird. In any case, in my profile there is no HTML whatsoever.
It will be fixed in 2.1.3, assuming it's the same error as this one: https://github.com/SimpleMachines/SMF/issues/7465
PR: https://github.com/SimpleMachines/SMF/pull/7473
Yes, it seems to be the same issue as far as I can tell. I am marking this as solved.
@Ramón Cutanda please feel free to mark it not solved if it is not the same issue.
Hello again:
I have been so busy that I have not been able to actually try the proposed solution until today. I can confirm it works. Thank you!
https://github.com/SimpleMachines/SMF/pull/7473/files/d43828035c67c070ded9106326a2a20f3bf18f6c
Thank you for letting us know. :)
Am also encountering this error (here on the smf forum). Simple plain text, no html.
Ramon confirmed the fix worked and was included in 2.1.3.
Are you seeing the exact same issue after updating?
^^^ it's here on the smf forum.
Can confirm it. Just enter a word with an apostrophe in it and you'll get that issue even here. I've got several PM and stuff by our members because of that.
Issue confirmed:
https://github.com/SimpleMachines/SMF/issues/7660
It appears to be specific to:
- Custom profile fields that have no regex or other edit
- The single & double quote characters
I believe the previous fix dealt with other special non-ASCII characters. But we still have a problem with quotes.
Just a note that am still encountering the 'HTML tags are not allowed'in 2.1.4 (here), = impossible to change signature.
Correct, it's flagged for 2.1.5.
Why not 2.1.4?
Didn't have time!
Are you trying to say you have a real life outside SMF? :o :P
Just experienced this on my forum, and there is no HTML, no special characters in the profile that we are trying to update. It just won't.