ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/cf.pm
(Generate patch)

Comparing deliantra/server/lib/cf.pm (file contents):
Revision 1.550 by root, Fri May 14 22:56:47 2010 UTC vs.
Revision 1.551 by root, Sun May 16 13:48:07 2010 UTC

1935 $base =~ s{[^/]+/?$}{}; 1935 $base =~ s{[^/]+/?$}{};
1936 $path = "$base/$path"; 1936 $path = "$base/$path";
1937 } 1937 }
1938 1938
1939 for ($path) { 1939 for ($path) {
1940 redo if s{//}{/};
1941 redo if s{/\.?/}{/}; 1940 redo if s{/\.?/}{/};
1942 redo if s{/[^/]+/\.\./}{/}; 1941 redo if s{/[^/]+/\.\./}{/};
1943 } 1942 }
1944 1943
1945 $path 1944 $path

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines