Better check for bad resource name - Found by skodak SC#32
treedc2e81f682933e0bcabe068d1ddf0665a565e3a6
-rw-r--r-- 297681 CHANGES
-rw-r--r-- 1419 README.txt
drwxr-xr-x - admin
drwxr-xr-x - auth
drwxr-xr-x - backup
drwxr-xr-x - blocks
drwxr-xr-x - calendar
-rw-r--r-- 10439 config-dist.php
drwxr-xr-x - course
drwxr-xr-x - doc
drwxr-xr-x - enrol
drwxr-xr-x - error
-rw-r--r-- 3366 file.php
drwxr-xr-x - files
drwxr-xr-x - filter
-rw-r--r-- 3909 help.php
-rw-r--r-- 10917 index.php
-rw-r--r-- 22967 install.php
drwxr-xr-x - lang
drwxr-xr-x - lib
drwxr-xr-x - login
drwxr-xr-x - mod
drwxr-xr-x - pix
drwxr-xr-x - rss
-rw-r--r-- 443395 tags
drwxr-xr-x - theme
drwxr-xr-x - user
drwxr-xr-x - userpix
-rw-r--r-- 552 version.php