[horde] (no subject)

Jan Schneider jan at horde.org
Fri May 14 01:22:29 PDT 2004


Fixed in CVS.

Zitat von Paul Wagland <paul at kungfoocoder.org>:

> Hi all,
>
> This nearly made me pull my hair out until I figured out what was 
> going on....
>
> First, the background, I have a rule that is based on List-ID ending with
> "<horde.lists.horde.org>". Based on the patch that I submitted yesterday (and
> was accepted, thanks!) the rule that is created in sieve is the following:
> 47: # Move horde mail
> 48: if header :comparator "i;octet" :matches "List-Id"
> "*<horde.lists.horde.org>" {
> 49: fileinto "xxx/xxx/xxx";
> 50: stop;
> 51: }
>
> So far, so good :-)
>
> Anyway, the problem is that when you click on "view script" what is 
> shown is the
> following:
>
> 47: # Move horde mail
> 48: if header :comparator "i;octet" :matches "List-Id" "*" {
> 49: fileinto "xxx/xxx/xxx";
> 50: stop;
> 51: }
>
> You can probably guess by now what was happening, the browser was hiding the
> "tag" for us, since it didn't know what it was. Now, I can see where to fix
> it... line 66 of ingo/script.php simply "HTML-escape" each line of the
> generated or retrieved script. The problem is that I don't know how you would
> do that...
>
> If you let me know, then I will fix it and send through a patch, of 
> of course it
> could just be fixed :-)
>
> Cheers,
> Paul
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org



Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the horde mailing list