Skip to content

Loading a map page with an invalid q parameter raises differing errors in some browsers #3189

Description

@jwalgran

We do not handle invalid values of the q query string parameter on the map page. Loading the {url_name}/map page with a q argument like q={"mapFeature.geom":{"IN_BOUNDARY":"31225 produces a syntax error in Firefox on macOS and IE 11 on Windows 7.

https://rollbar.com/Azavea/OpenTreeMap/items/2826/
https://rollbar.com/Azavea/OpenTreeMap/items/2827/

Low priority because the app does not produce broken JSON values. This looks like a copy/paste error

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions