Skip to content

Commit 094f5b2

Browse files
committed
Fixed an issue in softblocked WRs
1 parent 4c63ae9 commit 094f5b2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ allprojects {
3333

3434
libraryName = 'com.queue_it.androidsdk'
3535
libraryDescription = 'Android SDK to integrate with Queue-it'
36-
libraryVersion = "2.0.30"
36+
libraryVersion = "2.0.31"
3737

3838
artifact = 'library'
3939
siteUrl = "https://github.com/${org}/android-webui-sdk"

library/src/main/java/com/queue_it/androidsdk/QueueUrlHelper.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,13 @@ public static Uri updateUrl(String queueUrl, String userId) {
1616
}
1717

1818
public static Uri updateUrl(Uri queueUrl, String userId) {
19+
String encodedQuery = queueUrl.getEncodedQuery();
1920
String updatedUrl = new HttpUrl.Builder()
2021
.scheme(queueUrl.getScheme())
2122
.host(queueUrl.getHost())
2223
.encodedPath(queueUrl.getPath())
23-
.query(queueUrl.getQuery())
2424
.addQueryParameter("userId", userId)
25+
.encodedQuery(encodedQuery)
2526
.build()
2627
.url()
2728
.toString();

0 commit comments

Comments
 (0)