Browse Source

Fixed double URL decoding of file names

David A. Velasco 13 years ago
parent
commit
f149b3caac

+ 1 - 1
AndroidManifest.xml

@@ -18,7 +18,7 @@
  -->
 <manifest package="eu.alefzero.owncloud"
     android:versionCode="1"
-    android:versionName="0.1.126B" xmlns:android="http://schemas.android.com/apk/res/android">
+    android:versionName="0.1.127B" xmlns:android="http://schemas.android.com/apk/res/android">
 
     <uses-permission android:name="android.permission.GET_ACCOUNTS" />
     <uses-permission android:name="android.permission.USE_CREDENTIALS" />

+ 1 - 1
src/eu/alefzero/owncloud/ui/adapter/FileListListAdapter.java

@@ -103,7 +103,7 @@ public class FileListListAdapter implements ListAdapter {
             TextView fileName = (TextView) view.findViewById(R.id.Filename);
             String name = file.getFileName();
 
-            fileName.setText(URLDecoder.decode(name));
+            fileName.setText(name);
             ImageView fileIcon = (ImageView) view.findViewById(R.id.imageView1);
             if (!file.getMimetype().equals("DIR")) {
                 fileIcon.setImageResource(R.drawable.file);