Skip to content

Commit 3574be7

Browse files
committed
Patch release 13.0.8
Fixes call to manage endpoint for attributes with trailing slash
1 parent 0f2dacf commit 3574be7

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

dashboard-gui/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<parent>
33
<groupId>org.openconext</groupId>
44
<artifactId>dashboard</artifactId>
5-
<version>13.0.8-SNAPSHOT</version>
5+
<version>13.0.9-SNAPSHOT</version>
66
<relativePath>../pom.xml</relativePath>
77
</parent>
88
<modelVersion>4.0.0</modelVersion>

dashboard-server/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>org.openconext</groupId>
2121
<artifactId>dashboard</artifactId>
22-
<version>13.0.8-SNAPSHOT</version>
22+
<version>13.0.9-SNAPSHOT</version>
2323
<relativePath>../pom.xml</relativePath>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>

dashboard-server/src/main/java/dashboard/pdp/PdpManage.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ public PdpManage(ObjectMapper objectMapper, String manageBaseUrl, String manageU
3232
@Override
3333
protected URI buildUri(String path) {
3434
checkArgument(path.startsWith("/"));
35+
//bugfix for trailing slash
36+
if (path.equalsIgnoreCase("/protected/attributes/")) {
37+
path = "/protected/attributes";
38+
}
3539
return URI.create(String.format("%s/manage/api/internal%s", manageBaseUrl, path));
3640
}
3741

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
<groupId>org.openconext</groupId>
3333
<artifactId>dashboard</artifactId>
34-
<version>13.0.8-SNAPSHOT</version>
34+
<version>13.0.9-SNAPSHOT</version>
3535
<name>dashboard</name>
3636
<description>OpenConext-Dashboard</description>
3737
<inceptionYear>2012</inceptionYear>

0 commit comments

Comments
 (0)