projects
/
pub
/
Android
/
ownCloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed problem with some special characters when opening files; renamed WebdavUtils...
[pub/Android/ownCloud.git]
/
src
/
eu
/
alefzero
/
webdav
/
WebdavUtils.java
diff --git
a/src/eu/alefzero/webdav/WebdavUtils.java
b/src/eu/alefzero/webdav/WebdavUtils.java
index
8e7c07b
..
b6c0f2e
100644
(file)
--- a/
src/eu/alefzero/webdav/WebdavUtils.java
+++ b/
src/eu/alefzero/webdav/WebdavUtils.java
@@
-68,7
+68,7
@@
public class WebdavUtils {
* @param remoteFilePath Path
* @return Encoded path according to RFC 2396, always starting with "/"
*/
* @param remoteFilePath Path
* @return Encoded path according to RFC 2396, always starting with "/"
*/
- public static String encode(String remoteFilePath) {
+ public static String encode
Path
(String remoteFilePath) {
String encodedPath = Uri.encode(remoteFilePath, "/");
if (!encodedPath.startsWith("/"))
encodedPath = "/" + encodedPath;
String encodedPath = Uri.encode(remoteFilePath, "/");
if (!encodedPath.startsWith("/"))
encodedPath = "/" + encodedPath;