Hi,

Imho, you don't have to convert _all_ paths for windows system, it just
works the same way than *nix, macosx systems.

http://alanhogan.com/tips/php/directory-separator-not-necessary

<http://alanhogan.com/tips/php/directory-separator-not-necessary>Only
difference are when you have to make assertions with path returning from php
function / windows so let's work with /normal/path and fix test the easy way
without having to strtr everything.

So +1 for https://github.com/symfony/symfony/pull/499 (ok this vote doesn't
count :p)

Cheers,
[MA]Pascal

On Wed, Apr 6, 2011 at 18:11, Martin Hasoň <[email protected]> wrote:

> Hi,
> on github we solve the problem with errors on Windows.  The core
> problem is the path delimiter:
>
> https://github.com/symfony/symfony/pull/488
> https://github.com/symfony/symfony/pull/499
> https://github.com/symfony/symfony/pull/444
>
> What is the best solution?
> 1) The path on windows/linux/mac will be returned with a slash (same
> result in each os).
> 2) The path on linux/mac will be returned with a slash and on windows
> with a backslash (without slash).
> 3) The path on linux/mac will be returned with a slash and on windows
> with mixed slash and backslash.
>
> The current situation is such that the behavior of different parts
> Symfony2 is not uniform.
>
> Martin Hasoň
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
>



-- 
Pascal

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to