Subject: Developers of Sympa
List archive
RE: [sympa-dev] Message-IDs with "$" cause Summary mode links to fail
- From: "Adam Bernstein" <address@concealed>
- To: <address@concealed>
- Subject: RE: [sympa-dev] Message-IDs with "$" cause Summary mode links to fail
- Date: Wed, 9 Jul 2003 18:29:49 -0700
> causes it to break.) They replace "$" with "\$", instead of "%xx" (the hex
> code), which I can't get to work. I'm probably being stupid somehow.
Further info: What's actually happening is escape_chars() is working as
designed, and is replacing "$" with "%24" (the hex code), but I think that
code in the URL is causing the same problem as a bare $ in the URL causes,
namely a "500 Internal Server Error". It's probably because the URL is
getting fed into the arcsearch_id command, which is a perl script, which
chokes on a $...? Escaping it as \$ may, in fact, be the best answer.
And my previous patch was incomplete -- you also need to remove 0x24 from
the list of characters to be replaced within escape_chars(), or else my
replacement with \$ is never achieved:
in tools.pl:
foreach my $i
(0x25,0x20..0x24,0x26..0x2c,0x3a..0x3f,0x5b,0x5d,0x80..0x9f,0xa
0..0xff) {
becomes:
foreach my $i
(0x25,0x20..0x23,0x26..0x2c,0x3a..0x3f,0x5b,0x5d,0x80..0x9f,0xa
0..0xff) {
adam
-
Message-IDs with "$" cause Summary mode links to fail,
Adam Bernstein, 07/09/2003
-
RE: [sympa-dev] Message-IDs with "$" cause Summary mode links to fail,
Adam Bernstein, 07/09/2003
- RE: [sympa-dev] Message-IDs with "$" cause Summary mode links to fail, Adam Bernstein, 07/10/2003
-
RE: [sympa-dev] Message-IDs with "$" cause Summary mode links to fail,
Adam Bernstein, 07/09/2003
Archive powered by MHonArc 2.6.19+.