ProtonMail / libsieve-php

libsieve-php is a library to manage and modify sieve (RFC5228) scripts. It contains a parser for the sieve language (including extensions) and a client for the managesieve protocol. It is written entirely in PHP 8+.
https://packagist.org/packages/protonlabs/libsieve-php
GNU General Public License v3.0
21 stars 7 forks source link

Eof instead of end of block not detected correctly #19

Closed ThHareau closed 5 years ago

ThHareau commented 5 years ago

Fixes bug:

if true {
dicard;

Was raising an index not found exception. Now it raises a SieveException.