Question
I am having the following problems that I think are related to the taint issue:
When I click the Edit link the last character of the html end tag is left off resulting in </htm being displayed at the end of the page.
Sometimes when I click the Preview button, the preview page gets HTTP header data inserted at the top. For example:
>
HTTP/1.1 200 OK Date: Thu, 06 Mar 2003 21:06:03 GMT Server: Apache/1.3.20 (Win32) mod_jk/1.1.0 mod_perl/1.27_01-dev Keep-Alive: timeout=15, max=96 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html; charset=ISO-8859-1 f01
Sometimes when I click preview after doing an edit, I get a page cannot be displayed error
When I click on Diff I get the following message at the end of the diff page: Insecure dependency in unlink while running with -T switch at d:/twiki/lib/TWiki/Store/RcsWrap.pm line 265.
When I click on any of the versions, Apache starts using about 50% of the server CPU and no response is returned to the browser.
One issue that might affect these problems I'm wondering is that I deleted the ,v rcs files after installing (as per the instructions I read.
My twiki directories are set up as follows:
d:\twiki
d:\twikidata\data
d:\twikiUnixSupportFiles
I've attached my twiki.cfg
Here is the twiki specific portion of my httpd.conf
LoadModule perl_module modules/mod_perl.so
AddModule mod_perl.c
Alias /twiki/ "D:/twiki/"
ScriptAlias /twiki/bin/ "D:/twiki/bin/"
<Directory "D:/twiki/bin/">
AllowOverride All
Allow From All
Options ExecCGI
# Use CGI Perl
# SetHandler cgi-script
# Use mod_perl
SetHandler perl-script
PerlHandler Apache::Registry
PerlSendHeader On
</Directory>
<IfModule mod_perl.c>
PerlTaintCheck On
</IfModule>
<IfModule mod_env.c>
# Environment setup required to run Apache as service or as a
# standalone process.
# Adjust TZ for your server timezone, e.g. EST5EDT - put the non-daylight-savings
# timezone code first (e.g. EST or GMT), followed by the number of hours that it's behind GMT
# during non-daylight-savings time (use '-5' for timezones in advance of GMT).
SetEnv TZ EST7EDT
SetEnv RCSINIT -x,v/
SetEnv RCS_LF_ONLY 1
# Adjust TEMP and TMP for your server and create directories if necessary
SetEnv TEMP c:/temp
SetEnv TMP c:/temp
SetEnv LOGNAME system
SetEnv HOME d:/twiki
</IfModule>
- TWiki version: Version: 01 Feb 2003
- Perl version: ActivePerl 5.6.1.635
- Web server & version: Apache
- Server OS: Windows 2000
- Web browser & version: IE 6.0
- Client OS: Windows XP
--
JoelDuffin - 06 Mar 2003
Hi!
Me having the same problem...
--
JoergWeichelt - 28 Jul 2003
Answer
I get the same two problems. I suspect that like me you are running TWiki on Windows, Apache +
ModPerl according to the
WindowsCookbookInstallModPerl
I don't have an answer for you, sorry, but I am hoping the Core Team could at least have a look at the problem of: Insecure dependency in unlink while running with -T switch at d:/twiki/lib/TWiki/Store/RcsWrap.pm line 265.
--
MartinCleaver - 17 Jul 2003
I'm having a similiar problem on Linux w/ Apache + mod_perl. It seems to have mainly after I click "Preview changes" or I click 'Cancel'.
Its not always reproducible... but it does happen about 15 or 20% of the time. I will either get "l>" on the screen (and nothing else...probably end of