Encode subject of mangrove reviews

This commit is contained in:
pietervdvn 2020-12-31 21:13:16 +01:00
parent 982ba2f6d6
commit 83472c1e26

View file

@ -170,7 +170,8 @@ export default class SpecialVisualizations {
if (subject === "") { if (subject === "") {
return Translations.t.reviews.name_required; return Translations.t.reviews.name_required;
} }
const mangrove = MangroveReviews.Get(Number(tgs._lon), Number(tgs._lat),subject, const mangrove = MangroveReviews.Get(Number(tgs._lon), Number(tgs._lat),
encodeURIComponent(subject),
State.state.mangroveIdentity, State.state.mangroveIdentity,
State.state.osmConnection._dryRun State.state.osmConnection._dryRun
); );