irods-contrib / metalnx-web

Metalnx Web Application
https://metalnx.github.io/
BSD 3-Clause "New" or "Revised" License
36 stars 36 forks source link

[#261] Server now handles "+" special character #262

Closed korydraughn closed 3 years ago

korydraughn commented 3 years ago

The @RequestParam annotation automatically decodes values.

trel commented 3 years ago

it handles it by just ... not decoding it?

korydraughn commented 3 years ago

the annotation is provided by the spring framework. it automatically decodes the string for us. we were decoding the string again which caused the plus (+) sign to be removed.

korydraughn commented 3 years ago

this just means we don't have to worry about decoding any incoming request data.

trel commented 3 years ago

the best of answers - please # it.

korydraughn commented 3 years ago

added #