433849 FileResource string compare fix
This commit is contained in:
parent
f8c1f70b75
commit
f26291f5b6
|
@ -108,8 +108,8 @@ public class FileResource extends Resource
|
|||
_file=file;
|
||||
URI file_uri=_file.toURI();
|
||||
_uri=normalizeURI(_file,uri);
|
||||
|
||||
if (!_uri.equals(file_uri) && !_uri.toString().equals(file_uri.toString()))
|
||||
|
||||
if (!_uri.equals(file_uri.toString()))
|
||||
{
|
||||
// URI and File URI are different. Is it just an encoding difference?
|
||||
if (!file_uri.toString().equals(URIUtil.decodePath(uri.toString())))
|
||||
|
|
Loading…
Reference in New Issue