mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-30 22:34:02 +01:00 
			
		
		
		
	Merge branch 'master' into dependency-injection
This commit is contained in:
		
						commit
						f134d23ecb
					
				
					 111 changed files with 1230 additions and 364 deletions
				
			
		|  | @ -156,10 +156,12 @@ public class ContributionsContentProvider extends ContentProvider { | |||
|     public int update(@NonNull Uri uri, ContentValues contentValues, String selection, String[] selectionArgs) { | ||||
|         /* | ||||
|         SQL Injection warnings: First, note that we're not exposing this to the outside world (exported="false") | ||||
|         Even then, we should make sure to sanitize all user input appropriately. Input that passes through ContentValues | ||||
|         should be fine. So only issues are those that pass in via concating. | ||||
|         Even then, we should make sure to sanitize all user input appropriately. | ||||
|         Input that passes through ContentValuesshould be fine. So only issues are those that pass | ||||
|         in via concating. | ||||
| 
 | ||||
|         In here, the only concat created argument is for id. It is cast to an int, and will error out otherwise. | ||||
|         In here, the only concat created argument is for id. It is cast to an int, and will | ||||
|         error out otherwise. | ||||
|          */ | ||||
|         int uriType = uriMatcher.match(uri); | ||||
|         SQLiteDatabase sqlDB = dbOpenHelper.getWritableDatabase(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Paul Hawke
						Paul Hawke