scripting: encode(String) in URLEncoder has been deprecated
http://docs.oracle.com/javase/1.5.0/docs/api/java/net/URLEncoder.html Change-Id: I9d9b40ecf0d76618376975c52e5d9f27ec4bae8e Reviewed-on: https://gerrit.libreoffice.org/11438 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
This commit is contained in:
@@ -68,7 +68,7 @@ public class PathUtils {
|
||||
{
|
||||
buff.append('/');
|
||||
}
|
||||
buff.append( java.net.URLEncoder.encode( (String)t.nextElement() ) ); }
|
||||
buff.append( java.net.URLEncoder.encode( (String)t.nextElement(),"UTF-8" ) ); }
|
||||
return buff.toString();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user