Fixed problem with some special characters when opening files; renamed WebdavUtils...
[pub/Android/ownCloud.git] / src / eu / alefzero / webdav / WebdavUtils.java
index 8e7c07b..b6c0f2e 100644 (file)
@@ -68,7 +68,7 @@ public class WebdavUtils {
      * @param remoteFilePath    Path
      * @return                  Encoded path according to RFC 2396, always starting with "/"
      */
-    public static String encode(String remoteFilePath) {
+    public static String encodePath(String remoteFilePath) {
         String encodedPath = Uri.encode(remoteFilePath, "/");
         if (!encodedPath.startsWith("/"))
             encodedPath = "/" + encodedPath;