Skip to content

Commit

Permalink
Merge pull request #971 from RADAR-base/bugfix/escape-url
Browse files Browse the repository at this point in the history
[bugfix] Escape project name in MP request
  • Loading branch information
pvannierop authored Oct 30, 2024
2 parents e5e2f3e + cdc2684 commit 55297a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ apply plugin: 'io.spring.dependency-management'

allprojects {
group 'org.radarbase'
version '2.1.5' // project version
version '2.1.6' // project version

// The comment on the previous line is only there to identify the project version line easily
// with a sed command, to auto-update the version number with the prepare-release-branch.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class MPClient(config: Config) {
page: Int = 0,
size: Int = Int.MAX_VALUE,
): List<MPSubject> = request<List<MPSubject>> {
url("api/projects/$projectId/subjects")
url("api/projects/$projectId/subjects".encodeURLPath())
with(url.parameters) {
append("page", page.toString())
append("size", size.toString())
Expand Down

0 comments on commit 55297a4

Please sign in to comment.