maproulette / maproulette/maproulette-backend

Create Overpass QL contains non-ascii chracters...

Open
#310 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

confirmed help-wanted quick-fix
Dominant language
Scala
Stars
53
Forks
39
Avg merge
1d 17h
Merged PRs (30d)
12

Description

It isn't available to create an Overpass QL which contains non-ascii characters.
Strictly, subset of Unicode characters are allowed in Overpass QL (U+0020~U+0072, U+000A). All other characters are stripped by Javascript statement in challengeForm.scala.html:99.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in challengeForm.scala.html at line 99 and inspect the JavaScript filtering applied when creating an Overpass QL query. Compare that filtering with the issue's stated allowed Unicode ranges. Done means the form can create queries containing permitted non-ASCII characters without stripping them.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, scala
Domain
frontend, web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.