mhonarc-users

Re: Mhonarc 2.3.3 bug: URL matching needs to include ``&''

1999-06-10 19:01:47
On June 10, 1999 at 14:55, Jason Molenda wrote:

URLs which point to CGI scripts with several parameters use the ampersand
("&") character to separate the arguments.  If you include a URL with
an ampersand, mhonarc stops parsing there, apparently thinking that the
ampersand denotes the end of the URL.  The HTML'ified URL doesn't work
as it should.

This is a known "limitation".  Check the list archives for the reason.

A potential solution is to change the $HUrlExp in mhtxtplain.pl as
follows:

$HUrlExp = $Url . 
q%(?:&(?![gl]t;)|[^\s\(\)\|<>"'\&])+[^\.?!;,"'\|\[\]\(\)\s<>\&]%;

        --ewh

<Prev in Thread] Current Thread [Next in Thread>