mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-31 02:17:41 +00:00 
			
		
		
		
	apply codereview
This commit is contained in:
		
							parent
							
								
									756ea8c631
								
							
						
					
					
						commit
						7ff2c2c658
					
				| @ -49,8 +49,7 @@ internal class StatusRequester { | |||||||
|         redirectedUrl: String |         redirectedUrl: String | ||||||
|     ) = redirectedToUnsecureLocationBefore |     ) = redirectedToUnsecureLocationBefore | ||||||
|             || (baseUrl.startsWith(HTTPS_SCHEME) |             || (baseUrl.startsWith(HTTPS_SCHEME) | ||||||
|             && (!redirectedUrl.startsWith(HTTPS_SCHEME)) |             && !redirectedUrl.startsWith(HTTPS_SCHEME)) | ||||||
|             && redirectedUrl.startsWith(HTTP_SCHEME)) |  | ||||||
| 
 | 
 | ||||||
|     fun updateLocationWithRedirectPath(oldLocation: String, redirectedLocation: String): String { |     fun updateLocationWithRedirectPath(oldLocation: String, redirectedLocation: String): String { | ||||||
|         if (!redirectedLocation.startsWith("/")) |         if (!redirectedLocation.startsWith("/")) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user