[Geoserver-devel] [JIRA] (GEOS-10150) Pertains to REST framework, creating postgis datastore; if password contains '&' respons = 500

Bart den Ouden created an issue

GeoServer / BugGEOS-10150

Pertains to REST framework, creating postgis datastore; if password contains ‘&’ respons = 500

Issue Type:

BugBug

Affects Versions:

2.16.5, 2.18.4, 2.19.1

Assignee:

Unassigned

Created:

15/Jul/21 9:13 PM

Environment:

ubuntu 2.20.04, tomcat 9.0.46, open JDK 11.0.11

Priority:

MediumMedium

Reporter:

Bart den Ouden

POST /workspaces/

{workspaceName}

/datastores

This payload in the REST request leads to a 500 status, caused by password:

<dataStore>
<name>store_a</name>
<connectionParameters>
<host>localhost</host>
<port>5432</port>
<database>db1</database>
<user>postgres</user>
<passwd>&</passwd>
<dbtype>postgis</dbtype>
</connectionParameters>
</dataStore>

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100168-sha1:4d64391)

Atlassian logo