﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
686	FCKeditor.Net: UserFilesPath	anonymous		"in ""FileWorkerBase.cs"" -> ""UserFilesPath"" property
there is a mistake in order to determine which
of ""sUserFilesPath"" variable will be set. Watch this:

[original code]

{{{
...
...
// Otherwise use the default value.
if ( sUserFilesPath == null || sUserFilesPath.Length
== 0 )
sUserFilesPath = DEFAULT_USER_FILES_PATH ;

// Try to get from the URL.
if ( sUserFilesPath == null || sUserFilesPath.Length
== 0 )
{
sUserFilesPath = Request.QueryString
[""ServerPath""] ;
}
...
}}}

[/original code]

spotted? ""Try to get from the URL."" never works.

[new code]

{{{
...
...
// Otherwise use the default value.
// Try to get from the URL.
if ( sUserFilesPath == null || sUserFilesPath.Length
== 0 )
{
sUserFilesPath = Request.QueryString
[""ServerPath""] ;
}
if ( sUserFilesPath == null || sUserFilesPath.Length
== 0 )
sUserFilesPath = DEFAULT_USER_FILES_PATH ;
...
}}}

[/new code]

Greetings,
Gürhan Başbuğ.
----
Moved from SF:[[BR]]
http://sourceforge.net/tracker/index.php?func=detail&aid=1368066&group_id=75348&atid=543653"	Bug	closed	Normal		Server : ASP.Net		expired	SF Discussion	Frederico Caldeira Knabben
