[KPhotoAlbum] [Kphotoalbum-bugs] [Bug 112959] support PCRE regular expressions

Shawn Willden shawn-kimdaba at willden.org
Tue May 22 15:23:09 CEST 2007


On Monday 21 May 2007 08:27:26 am Jan Kundrát wrote:
> You probably already do that, but please remember that you want to
> process headers only. Although it really isn't a show stopper, I can
> imagine bugreports with lines starting with "From: ". My sed-fu isn't
> high enough to do it.

Mine, neither, and I decided that it was sufficiently unlikely to be a problem 
that I'd ignore it.  It might be a bigger problem if KPA were an e-mail 
applicattion.

> > /^X-Bugzilla-URL: http:\/\/bugs\.kde\.org/d
>
> Why do you remove this?

That was just an anti-looping provision.  The maildrop filter only forwards 
messages that contain this header, and the sed script removes the header.  
This was an issue before Jesper created the bugs list.  Now, kpabugs forwards 
to the bugs list, and is not subscribed to the bugs list, so it's not 
relevant.

I should probably unsubscribe kpabugs from the discussion list and remove that 
line from the sed script.

> > s/^From: .*$/From: kpabugs at willden.org/
>
> If the list at kdab.net could be configured to accept mails having a
> Sender header of kpabugs at willden.org, I'd change this line not to
> rewrite the From filed but add Sender instead.

I don't know if the mailing list can be configured that way.

	Shawn.


More information about the KPhotoAlbum mailing list