Feature Proposal: Foswiki guesses the paths and complains about backslashes on Win32

Motivation

I think it would be better to change the paths to forward slashes if they are guessed instead of guessing them with backslashes and right away complain that they should be using forward slashes.

Description and Documentation

I understand the warning for paths I enter, but do not see why to complain about the paths the configure guessed itself.

$Foswiki::cfg{$cfg} =~ s{\\}{/}g if $^O eq 'MSWin32';

within the Foswiki::Configure::Checker::guessMajorDir is most probably all that's needed.

Examples

Impact

%WHATDOESITAFFECT%
edit

Implementation

-- Contributors: JendaKrynicky - 19 Apr 2009

Discussion

(basically, i see this as a bug which we can fix without needing to discuss it as a feature)

I guess I'm the only person working on windows atm, and that only rarely, so i'll see if can find time to do this for the next release.

-- SvenDowideit - 06 Mar 2010

Yes. This is a bug. It does not need a feature request.

Just open an item on this.

I change this to under construction in the lack of a better way to handle this.

-- KennethLavrsen - 14 Mar 2010

Changed this to MergedToCore. This was fixed in July 2010 under Tasks.Item9240

-- GeorgeClark - 06 Dec 2010
Topic revision: r4 - 06 Dec 2010, GeorgeClark
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