You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Dennis Sieben (JIRA)" <se...@james.apache.org> on 2007/10/17 18:01:50 UTC
[jira] Created: (JSIEVE-18) Sieve jjtree grammar doesn't handle
quotation in quoted-strings right
Sieve jjtree grammar doesn't handle quotation in quoted-strings right
---------------------------------------------------------------------
Key: JSIEVE-18
URL: https://issues.apache.org/jira/browse/JSIEVE-18
Project: jSieve
Issue Type: Bug
Reporter: Dennis Sieben
It is described in the sieve language RFC that quotation is allowed in quoted string if it is escaped. So the following: "test\"test2" should be parsed without errors. But in the current version of jsieve an exception occurs here. I've tested that with the sieve implementation in cryrus too. And there it runs fine.
I've fixed that in the grammar file. The patch is included in this issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Assigned: (JSIEVE-18) Sieve jjtree grammar doesn't handle
quotation in quoted-strings right
Posted by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/JSIEVE-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Burrell Donkin reassigned JSIEVE-18:
-------------------------------------------
Assignee: Robert Burrell Donkin
> Sieve jjtree grammar doesn't handle quotation in quoted-strings right
> ---------------------------------------------------------------------
>
> Key: JSIEVE-18
> URL: https://issues.apache.org/jira/browse/JSIEVE-18
> Project: jSieve
> Issue Type: Bug
> Reporter: Dennis Sieben
> Assignee: Robert Burrell Donkin
> Attachments: patch.diff
>
>
> It is described in the sieve language RFC that quotation is allowed in quoted string if it is escaped. So the following: "test\"test2" should be parsed without errors. But in the current version of jsieve an exception occurs here. I've tested that with the sieve implementation in cryrus too. And there it runs fine.
> I've fixed that in the grammar file. The patch is included in this issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Closed: (JSIEVE-18) Sieve jjtree grammar doesn't handle
quotation in quoted-strings right
Posted by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/JSIEVE-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Burrell Donkin closed JSIEVE-18.
---------------------------------------
Resolution: Fixed
Fix Version/s: 0.2
Committed. Also fixed string interpretation code.
Many Thanks
Robert
> Sieve jjtree grammar doesn't handle quotation in quoted-strings right
> ---------------------------------------------------------------------
>
> Key: JSIEVE-18
> URL: https://issues.apache.org/jira/browse/JSIEVE-18
> Project: jSieve
> Issue Type: Bug
> Reporter: Dennis Sieben
> Assignee: Robert Burrell Donkin
> Fix For: 0.2
>
> Attachments: patch.diff
>
>
> It is described in the sieve language RFC that quotation is allowed in quoted string if it is escaped. So the following: "test\"test2" should be parsed without errors. But in the current version of jsieve an exception occurs here. I've tested that with the sieve implementation in cryrus too. And there it runs fine.
> I've fixed that in the grammar file. The patch is included in this issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[jira] Updated: (JSIEVE-18) Sieve jjtree grammar doesn't handle
quotation in quoted-strings right
Posted by "Dennis Sieben (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/JSIEVE-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Sieben updated JSIEVE-18:
--------------------------------
Attachment: patch.diff
The patch for the grammar
> Sieve jjtree grammar doesn't handle quotation in quoted-strings right
> ---------------------------------------------------------------------
>
> Key: JSIEVE-18
> URL: https://issues.apache.org/jira/browse/JSIEVE-18
> Project: jSieve
> Issue Type: Bug
> Reporter: Dennis Sieben
> Attachments: patch.diff
>
>
> It is described in the sieve language RFC that quotation is allowed in quoted string if it is escaped. So the following: "test\"test2" should be parsed without errors. But in the current version of jsieve an exception occurs here. I've tested that with the sieve implementation in cryrus too. And there it runs fine.
> I've fixed that in the grammar file. The patch is included in this issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org