Project

General

Profile

« Previous | Next » 

Revision 328

Added by stefan over 18 years ago

Added strip_slashes call to directory parameter.

View differences:

trunk/wb/admin/media/browse.php
37 37
$template->set_block('page', 'main_block', 'main');
38 38

  
39 39
// Get the current dir
40
$directory = $admin->get_get('dir');
40
$directory = $admin->strip_slashes($admin->get_get('dir'));
41 41
if($directory == '/' OR $directory == '\\') {
42 42
	$directory = '';
43 43
}

Also available in: Unified diff