[ http://tracker.iptel.org/browse/SER-340?page=all ]
Bogdan Pintea updated SER-340:
------------------------------
Attachment: textops.2.diff
Another version proposed, to preserve the old remove by string match and add a
new remove_hf_re() script function to remove by regexp match, as suggested.
remove_hf_re's implementation was blended with remove_hf's, to prevent (small)
code duplication.
> remove headers whose names match a regexp
> -----------------------------------------
>
> Key: SER-340
> URL: http://tracker.iptel.org/browse/SER-340
> Project: SER
> Issue Type: Improvement
> Components: Unspecified
> Affects Versions: Wishlist
> Reporter: Bogdan Pintea
> Assigned To: Andrei Pelinescu - Onciul
> Priority: Trivial
> Fix For: Wishlist
>
> Attachments: textops.2.diff
>
>
> The attached patch enables stripping headers that match a certain regular
> expression; ex.: remove_hf("P-.*").
> It might also provide some marginal speedup if multiple header types need to
> be cleansed away; ex.: remove_hf("P-.*|X-.*|Subject").
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.iptel.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Serdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/serdev