Hello Sven

Thank you for the response. When I click "Diffs" on any topic I 
open a link that looks like:

https://twiki/cgi-bin/twiki/rdiff/Systems/SystemData?rev1=1.29&rev2=1.24

Assuming you have taint checking turned on, this sort of link will
always produce the error with the original RDiff.pm, although I
suppose it might be dependant upon the version of perl or mod_perl.

What errors did you get in your log? Did you make the change for 
both rev1 and rev2?

A diff of the original and fixed files:

[EMAIL PROTECTED]:/usr/share/perl5/TWiki/UI# diff RDiff.pm.orig RDiff.pm.works 
410,411c410,411
<     $rev1 =~ s/r?1\.//go;  # cut 'r' and major
<     $rev2 =~ s/r?1\.//go;  # cut 'r' and major
---
>     ($rev1) = $rev1 =~ /r?1\.(\d*)/;  # cut 'r' and major
>     ($rev2) = $rev2 =~ /r?1\.(\d*)/;  # cut 'r' and major

Tristan



On Sat, May 07, 2005 at 07:15:29PM +1000, Sven Dowideit wrote:
> I'm sorry, but I cannot re-produce this. and when testing your suggested
> change, I get other errors in my log.
> 
> is there any more information you can give me?
> 
> (what topics, what kind of changes, which particular diffs link)
> 
> Sven
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to