-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
managesieve turning a long regex into multi-line text literal #6143
Labels
Milestone
Comments
Probably an interpretation of:
|
Ahh ok. But does that mean we cannot have a regex longer that 1024 chars in sieve? |
I don't remember. You might be right that it comes from managesieve rfc. That would mean the limit is irrelevant and should be removed. |
As a quick workaround, I have replaced the line:
in the script with:
|
alecpl
added a commit
that referenced
this issue
Jan 24, 2018
alecpl
added a commit
that referenced
this issue
Jan 24, 2018
Fixed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi.
The file plugins/managesieve/lib/Roundcube/rcube_sieve_script.php has this section:
which is converting my long regex to:
which should actually be saved as:
:regex "from" "my long regex"
in order to get evaluated correctly. Why the 1024 limit?
The text was updated successfully, but these errors were encountered: