Skip to content

Commit b010fac

Browse files
authored
fix normalize
1 parent c45b2be commit b010fac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/zip/php_zip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ static bool php_zip_extract_file(struct zip * za, char *dest, const char *file,
151151
new_state.cwd[0] = '\0';
152152
new_state.cwd_length = 0;
153153

154-
/* Clean/normlize the path and then transform any path (absolute or relative)
154+
/* Clean/normalize the path and then transform any path (absolute or relative)
155155
to a path relative to cwd (../../mydir/foo.txt > mydir/foo.txt)
156156
*/
157157
virtual_file_ex(&new_state, file, NULL, CWD_EXPAND);

0 commit comments

Comments
 (0)