TibiaData / tibiadata-api-go

TibiaData API written in Golang and deployed in container (version v3 and above).
https://api.tibiadata.com
MIT License
81 stars 28 forks source link

[bug] houses endpoint town-parameter failing when plus in name #294

Closed tobiasehlert closed 9 months ago

tobiasehlert commented 9 months ago

There is an issue with town name validation when towns have a space in the name.

failing url:

working url:

response on failing url:

{
    "information": {
        "api": {
            "version": 4,
            "release": "edge",
            "commit": "39226677b2c7582c91e70cb367c33ef7763cf4ac"
        },
        "timestamp": "2023-11-23T09:00:58Z",
        "status": {
            "http_code": 400,
            "error": 11006,
            "message": "the provided town does not exist"
        }
    }
}