mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Fix previous commit
This commit is contained in:
parent
b524e79f55
commit
9840b8395e
@ -824,9 +824,9 @@ normalize_path(Path) ->
|
||||
normalize_path(Path, []).
|
||||
|
||||
normalize_path([], Norm) -> lists:reverse(Norm);
|
||||
normalize_path([".."|Path], Norm) ->
|
||||
normalize_path([<<"..">>|Path], Norm) ->
|
||||
normalize_path(Path, Norm);
|
||||
normalize_path([_Parent, ".."|Path], Norm) ->
|
||||
normalize_path([_Parent, <<"..">>|Path], Norm) ->
|
||||
normalize_path(Path, Norm);
|
||||
normalize_path([Part | Path], Norm) ->
|
||||
normalize_path(Path, [Part|Norm]).
|
||||
|
Loading…
Reference in New Issue
Block a user