mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-31 02:17:41 +00:00 
			
		
		
		
	OC-2840: Fix bug: It's not possible to share a folder which has special characters
This commit is contained in:
		
							parent
							
								
									44ccba347c
								
							
						
					
					
						commit
						e782cfa704
					
				| @ -109,6 +109,7 @@ public class CreateShareRemoteOperation extends RemoteOperation { | ||||
| 			post = new PostMethod(client.getBaseUri() + ShareUtils.SHAREAPI_ROUTE); | ||||
| 			Log.d(TAG, "URL ------> " + client.getBaseUri() + ShareUtils.SHAREAPI_ROUTE); | ||||
| 
 | ||||
| 			post.setRequestHeader( "Content-Type", "application/x-www-form-urlencoded; charset=utf-8"); // necessary for special characters | ||||
| 			post.addParameter(PARAM_PATH, mPath); | ||||
| 			post.addParameter(PARAM_SHARE_TYPE, Integer.toString(mShareType.getValue())); | ||||
| 			post.addParameter(PARAM_SHARE_WITH, mShareWith); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user