Hi,
I found that I was not able to use directly names with apostrophes so I made 2 changes that seem to have worked.
1st.. I modified admin/thumbnail.php
I added line 281...
$HTTP_GET_VARS['dir'] = stripslashes($HTTP_GET_VARS['dir']);
right before
$images = get_images_without_thumbnail( $HTTP_GET_VARS['dir'] );
2nd, I modified admin/miseajour.php
I modifited line 81 to...
$sub_rep[$i++] = addslashes($file);
I hope this is useful
Albert
Offline
thanks, I'll try it. But, I'm not so sure it's a good idea since some internet browsers (like IE) doesn't support special caracters in URL, and pictures are accessible thanks to an URL, so...
Offline
hehe, I didn't think of that. I made the change only so I can use an apostrophe '
Since I do not allow users to upload and only I can make new folders it does not seem to cause any other problems. I know better than to try and make a folder called ::::pictures:::: :D
I think it can be a problem if users are allowed to create folders because they will try all sorts of strange stuff.
Albert
Offline