• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

When attempting to run statistics on previous month with the logdate variable and the webs variable, TWiki will error out:

"TWiki detected an internal error - please check your TWiki logs and webserver logs for more information. Insecure dependency in open while running with -T switch"

From command line you can view the full error the system spits out (from within bin):

./statistics webs=Servers logdate=200605
The full error mentions RcsFile.pm, Store,pm, and others. If you're unable to replicate, I can provide full error message

From teh web you can run: http://domain.com/twiki/bin/statistics?webs=Servers&logdate=200605

The beginning output works correctly, reports on the correct web specified and the month/date, but does not write the output to the WebStatistics file.

Forcing statistics to run via the "(You can also force an update)" on any WebStatistics page does work, however, but only for the current month.#


The first problem is the command line; the correct parameter specification is:
./statistics -webs Servers -logdate 200605
where did you get the webs= syntax from?

The second problem is that command line parameters are indeed tainted. i fixed that.

CC

ItemTemplate
Summary statistics does not like date variable sent to it because its tainted
ReportedBy TWiki:Main.JeffLink
Codebase 4.0.1
SVN Range Wed, 08 Feb 2006 build 8740
AppliesTo Engine
Component

Priority Urgent
CurrentState Closed
WaitingFor

Checkins 10430 10431
TargetRelease patch
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2006-06-02 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback