anchor.diff:  	
   	private string function urlSafePath( required string path )
   	{
  -		var result = Replace( arguments.path, "\", ":", "all" );
  +		var result = Replace( arguments.path, "/", ":", "all" );
   		if ( !Len( Trim( result ) ) ) result = "*";
   		return result;
   	}
  
positive.code: 	{
  		param name="rc.newdirectory" default="";
  		var newdirectory = ReReplaceNoCase( Trim( rc.newdirectory ), "[^a-z0-9_\-\.]", "", "all" );
  		var result = variables.FileManagerService.createDirectory( rc.currentdirectory & "\" & newdirectory );
  		rc.messages = result.messages;
  		if( result.theobject.mkdirs() && StructKeyExists( result.messages, "success" ) ) variables.fw.redirect( action="filemanager.default", querystring="subdirectory=#urlSafePath( rc.subdirectory & "\" & newdirectory )#", preserve="messages" );
  		else variables.fw.redirect( action="filemanager.default", querystring="subdirectory=#urlSafePath( rc.subdirectory )#", preserve="messages" );
  	} 
  
  
negative.code: 	void function delete( required struct rc )
  	{
  		param name="rc.delete" default="";
  		var result = variables.FileManagerService.deleteFile( rc.currentdirectory  & "/" & rc.delete );
  		rc.messages = result.messages;
  		variables.fw.redirect( action="filemanager.default", querystring="subdirectory=#urlSafePath( rc.subdirectory )#", preserve="messages" );
  	}
  