Item10337: DirectedGraphWebMapPlugin doesn't work on windows: taint issue

pencil
Priority: Normal
Current State: Waiting for Feedback
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: DirectedGraphWebMapPlugin
Branches:
Reported By: RitBan
Waiting For: Main.MichaelTempest
Last Change By: RitBan
RitBan opened a support ticket because DirectedGraphWebMapPlugin doesn't work on windows.

As I quickly diagnosed on IRC, it's due to the taint effect of File::Find on windows, because some characters such as : are not untainted by default.

Fix is simple, and I've used it on UnitTestContrib/lib/Unit/TestRunner.pm: add : to the untaint_pattern used by File::Find.

Opening a task so I can commit a fix.

Fixed the code, waiting for MichaelTempest to release.

-- OlivierRaginel - 10 Feb 2011

I tried out the patch on my setup and it seems to work fine over several edit and topic move/rename/parent change operations -- RitBan

-- RitBan - 10 Feb 2011
 
Topic revision: r3 - 10 Feb 2011, RitBan
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy