-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.5.5]: Redactor not allowing parenthesis #478
Comments
UPDATE:
Redactor plugin version: 3.0.4
Results of trying to save after this error appears:
NETWORK: |
Update: The parenthesis only seem to be a problem when they are copy/pasted in from another source. Sometimes this bug does not happen immediately upon pasting into the entry. Sometimes it also happens when editors return to an entry that originally had saved pasted parenthesis and they try to make a change. No matter what the change is (manual write or copy/paste, parenthesis involved or not), the error is thrown and all of the parenthesis in the text need to be removed in order for the entry to save again. |
Updating for anyone following- this issue has been resolved. It turns out it was an issue with WAF rules on the hosting side. The text that was being blocked was "...System (...)" the word 'system' followed by an open and closed parenthesis. This triggered the This issue can be closed. |
What happened?
Description
This issue does not happen ALL the time, but it has happened multiple times across 2 of my craft sites and I was finally able to record the issue (recording included below). I am using a redactor in my template on two separate sites, and there are times where content editors try to add text that includes parentheses (ex: "Developing a desktop geographic information system tool (GIS) to help...") but they are unable to save the text unless the parentheses are removed. They are given an error "Your changes could not be stored" until the parentheses are removed. The fact that this only happens some of the time tells me that it isn't a settings issue with the redactor, since any settings should be applied 100% of the time.
Steps to reproduce
https://watch.screencastify.com/v/S2CmPCPzMgi8kIkXBJq8
Expected behavior
Text should include parentheses without error
Actual behavior
"Your changes could not be stored" error when parentheses are included in text.
Craft CMS version
Craft Pro 4.5.5
PHP version
8.1.18
Operating system and version
Linux 4.14.311-233.529.amzn2.x86_64
Database type and version
MySQL 5.7.12
Image driver and version
Imagick 3.7.0 (ImageMagick 6.9.10-97)
Installed plugins and versions
The text was updated successfully, but these errors were encountered: