Perl: problem after upgrade of libwww...

Ciaran Deignan (Ciaran.Deignan@bull.net)
Wed, 6 Jan 1999 19:29:49 +0100 (NFT)


Hi,

I have a problem with an application that I didn't write and that
I barely understand, but that seems to be linked to libwww-perl-5.41,
URI-1.00.tar.gz, and possibly URI-URL-4.16. Proir to the upgrade
(of perl 5.004 to 5.00502) we were using libwww-perl-5.09.

The application uses both javascript (on the client side) and perl-CGI
on the server side.

The problem seems to be that ":" characters in a URL generated by the
application are not being escaped. A diff between the HTML generated
on pre- and pos- upgrade machines shows:


167c167
< <STRONG><A HREF="" onclick="update_selection('results_frame',
'results_form', 'selected_documents')
;this.href=complete_URL('results.cgi?type=search&range=11..12&max_hits=12&max_shown=10&view_by=title,description,content-type&order_by=-score&csid=x-catalog%3A%7C%7Cepicentre%3A88%7Cfindfix&url=http%3A%7C%7Cepicentre%3A88')">2</A></STRONG>
---
>     <STRONG><A HREF="" onclick="update_selection('results_frame',
> 'results_form', 'selected_documents')
> ;this.href=complete_URL('results.cgi?type=search&range=6..8&max_hits=8&max_shown=5&view_by=title&order_by=-score&csid=x-catalog:%7C%7Cblue690:8080%7Csotis&url=http:%7C%7Cblue690:8080')">2</A></STRONG>

I'm going to try going back to the libwww-perl-5.09, I'm writing you this
mail on the off-chance that it makes a lightbulb go off. If you want the
actual CGI script, this is possible. The pre-upgraddeapplication is
externally visible at
    http://www-opensup2.bull.com/ificor/cgi-bin/ificor.cgi

Thanks for the excelent free software you contribute to CPAN

Ciaran

+-------------------------------------------------------------------------+
Ciaran Deignan                                Tel: (France) 04 76 29 79 92
BULL XS-BU (http://www-frec.bull.com)      Internet Support Project Leader

Office:  C1/012                                         Bullcom: 229 79 92
Mail to: C1/023 or Ciaran.Deignan@bull.net                  Fax: 229 76 89
+-------------------------------------------------------------------------+