Skip to content

[ogcapi-features] routing error if identifier contains '/' #7422

Description

@pvgenuchten

In case the value of an identifier property of a feature includes a '/', the routing fails
Url-encoding the value doesn't seem to improve the case (Apache decodes the URL before launching CGI, unless apache is configured to keep slashes; AllowEncodedSlashes NoDecode)
Same probably applies to special characters such as "?/&"

https://kenya.lsc-hubs.org/ows/vector/ogcapi/collections/Potato_suitability/items/KE104/2-149 vs
https://kenya.lsc-hubs.org/ows/vector/ogcapi/collections/Potato_suitability/items/KE104%2F2-149

{"code":"NotFound","description":"Invalid API path."}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions