Welcome Guest, Not a member yet? Register   Sign In
Function delete_files has a bug
#1

Hi,
into file /system/helpers/file_helper on line 143 the code check if the "filename" start not with dot but if it is a "directory", and not a file, it's a problem on line 149.

I found this bug about cache dir and someone tried to open a url like http://url/.somethings/xxx

I have fixed quickly with a rules on route but probably is more correct fix the CI file.

Another suggestion?
Reply


Messages In This Thread
Function delete_files has a bug - by wasabi - 07-29-2019, 02:01 AM
RE: Function delete_files has a bug - by php_rocs - 07-29-2019, 10:40 AM
RE: Function delete_files has a bug - by ciadmin - 07-29-2019, 09:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB