Home : Products : Gossamer Links : Discussions :

Products: Gossamer Links: Discussions: Links SQL 2.2.0 Verifier bugfix: Edit Log

Here is the list of edits for this post
Links SQL 2.2.0 Verifier bugfix
The following is now available in the latest install package of Links SQL. Please download the new package and update your installation rather than applying this fix.



Please note that this fix only applies to Links SQL version 2.2.0. All other versions will have problems if they receive this patch.

Sorry this took so long, my initial suggestion didn't work as well as I'd hoped and I wanted to confirm this one with multiple systems before I released this patch.

The attached archive contains the following files:

Code:
GT/WWW/http/Response.pm
GT/WWW/http/Header.pm
GT/WWW/https.pm
GT/WWW/http.pm
GT/Socket/Client/SSLHandle.pm
GT/Socket/Client.pm
GT/WWW.pm
nph-verify.cgi

If the archive is unpackaged into the admin directory it should put all the files into their proper locations. As it will overwrite files, I would highly suggest making a backup of the admin directory beforehand.

Once the files have been unpackaged, a few modifications must be done.

In the file "nph-verify.cgi", please ensure that the first line points to the proper location of your perl. The easiest case would be to compare against the "admin.cgi" script and simply copy the value over. There are two other locations in the "nph-verify.cgi" file that must be updated as well, they are located on line 25 and line 49. In both cases, again, there will be an analogous line in admin.cgi whos values you can copy over.

Finally, Tools.pm must be edited. Search for the following line (around line 324)

Code:
my $response = $www->head;

And change that to:

Code:
my $response = eval { $www->head; };

Then, look for this next line (around line 332) and change:

Code:
$response = $www->get;

To:

Code:
$response = eval { $www->get };

Once that is done the update should be complete.

If you have any problems, please reply here or send me a private message and I will look into it.

Thanks for all the bug reports!

Last edited by:

Aki: Jul 7, 2004, 4:11 PM

Edit Log: