Overpass Turbo preview card causes corruption of query from misinterptation of whitespace or tabs

What and who is affected by this issue/request?

Overpass Turbo users. Basically everyone that needs to check OSM data.

Where on the platform does it happen?

Draft comment preview, and the rendered sent comments. Can it even be disabled, or changed to inline title preview?

How do we replicate the issue?


Long link:


Redundant plus signs are added. This prevents queries from being run.
I don’t know whether it is caused by misencoding in percent-coding.
Workaround is to not use links on their own line, preventing the preview card from appearing. overpass turbo overpass turbo

Expected behavior (i.e. solution)

  • Short link: Not expanding to a wrong link
  • Long link: Not changing the link

Other Comments

Maybe it is also a problem from the Overpass Turbo side. But best fixed here first.

The space is double encoded. It should be
or https://example.com/?Q=+,
but it is https://example.com/?Q=%2B which is an encoded plus sign.

So whatever generates this links should be fixed.

1 Like

Found the origin of the link in question. Various test posts follow

This is broken. By contrast


works fine. Using a link text works fine as well.

The source of this:



[a link text](https://overpass-turbo.eu/s/1FWs)

The punch line is that there is some misguided attempt (this bug called “comment preview” in the first post) in the Discourse software to resolve the link for some reason. This might be under our control, as it is extremely unlikely that an OSM unspecific Discourse instance has a specialized link tool for Overpass Turbo.

1 Like

Test post per eMail.

The link per link text.

The link itself:

Bare link:

Bare link separated with empty lines

Everything as quotation:

Apparently, there is an independent bug that ate the quotation.

1 Like