Skip to content

Commit 6019025

Browse files
authored
Merge pull request #474 from shikoko/ANDROID-618
ANDROID-618 SQL Injection Vulnerability
2 parents 2483058 + cb9cca6 commit 6019025

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

alfresco-mobile-android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ android {
2727

2828
minSdkVersion 19
2929
targetSdkVersion 23
30-
versionCode 81
30+
versionCode 82
3131

3232
versionName VERSION_NAME
3333

alfresco-mobile-android/src/main/java/org/alfresco/mobile/android/application/VersionNumber.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,8 @@ public interface VersionNumber
7676
/** Release 24 April 2018. */
7777
int VERSION_1_8_1 = 81;
7878

79-
int LATEST_VERSION = VERSION_1_8_1;
79+
/** Release 5 June 2018 */
80+
int VERSION_1_8_2 = 82;
81+
82+
int LATEST_VERSION = VERSION_1_8_2;
8083
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
## DEFAULT BUILD VARIANT
4040
####################################################################
4141
# Current Version number of the application
42-
VERSION_NAME=1.8.1
42+
VERSION_NAME=1.8.2
4343

4444
# Build Number of the application
4545
# Overrides by Continuous Integration System during build

platform/foundation/src/main/java/org/alfresco/mobile/android/sync/SyncContentProvider.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ public Cursor query(Uri uri, String[] projection, String selection, String[] sel
132132
// Check if the caller has requested a column which does not exists
133133
checkColumns(projection);
134134

135+
queryBuilder.setStrict(true);
135136
queryBuilder.setTables(SyncContentSchema.TABLENAME);
136137

137138
int uriType = URI_MATCHER.match(uri);

0 commit comments

Comments
 (0)