Modify

Opened 5 weeks ago

#24547 new defect

URL in Note broken if it contains parenthesis

Reported by: mnalis Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. open a note which has URL which contains parenthesis (common on e.g. Wikipedia links). e.g. https://www.openstreetmap.org/note/4292099

What is the expected result?

JOSM would properly linkify (i.e. break only on whitespace), like e.g. www.openstreetmap.org website (or Trac for that matter) does (i.e. link to https://hr.wikipedia.org/wiki/Bob_(biljna_vrsta) in that example)

What happens instead?

JOSM linkifies only part of the link, which doesn't work (e.g. links to https://hr.wikipedia.org/wiki/Bob_ in that example)

Please provide any additional information below. Attach a screenshot if possible.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2025-08-31 14:19:57 +0200 (Sun, 31 Aug 2025)
Revision:19439
Build-Date:2025-09-02 01:30:58
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (19439 en) Linux Debian GNU/Linux 13 (trixie)
Memory Usage: 2967 MB / 2987 MB (647 MB allocated, but free)
Java version: 21.0.9+10-Debian-1deb13u1, Debian, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920x1080x[Multi depth]@60Hz (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: hr_HR.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: ICEWM
Java package: openjdk-21-jre:amd64-21.0.9+10-1~deb13u1
fonts-noto: fonts-noto:all-20201225-2
VM arguments: [-Dsun.java2d.opengl=true, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED]
Dataset consistency test: No problems found

Plugins:
+ DirectUpload (36438)
+ FixAddresses (36438)
+ ImageWayPoint (36438)
+ Mapillary (1813)
+ PicLayer (269)
+ Review.Changes (1.1.1)
+ apache-commons (36438)
+ apache-http (36438)
+ areaselector (366)
+ austriaaddresshelper (100)
+ buildings_tools (36438)
+ conflation (274)
+ ejml (36438)
+ geotools (36438)
+ imagery_offset_db (36438)
+ jackson (36438)
+ jaxb (36438)
+ jna (36438)
+ jts (36438)
+ log4j (36438)
+ mbtiles (v2.6.1)
+ opendata (36460)
+ osmwiki-dataitem (0.0.8)
+ pmtiles (36438)
+ pt_assistant (677)
+ reverter (36447)
+ todo (155)
+ turnrestrictions (36458)
+ undelete (36438)
+ urbaneye3d (1.6.0)
+ utilsplugin2 (36438)
+ wikipedia (441)

Tagging presets:
+ https://raw.githubusercontent.com/OpenNauticalChart/josm/master/INT-1-preset.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/Healthcare&zip=1
+ https://<user.name>.com/prezentacije/OpenStreetMap/josm-preset.xml
+ https://cdn.jsdelivr.net/npm/name-suggestion-index@latest/dist/presets/nsi-josm-presets.min.xml

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
+ http://bezdomni.net/Styles_HighlightedCapesBays-style.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Styles/ColorWays&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Modified&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/CyclewaysStylingBNA&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/SidewalksPlus&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/BuildingColors&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/FixmeAndNote&zip=1
+ ${HOME}/tmp/g/1/openaddresses-HR.mapcss

Validator rules:
+ https://josm.openstreetmap.de/josmfile?page=Rules/KeepRight&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/QAToolInspiredValidations&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/OSMLint&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/MissingWeekdays&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/SourceObjectTag&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/IndoorRules&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/Pictures&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/MissingOpeningHours&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/CheckDate&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/FacebookWebsite&zip=1

Last errors/warnings:
- 01361.647 W: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
- 01811.451 W: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
- 01829.884 E: Invalid setting (Icon missing): org.openstreetmap.josm.plugins.fixAddresses.FixAddressesPreferences
- 02180.631 W: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
- 02449.800 W: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
- 02494.241 W: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
- 02565.317 W: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
- 02981.835 W: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
- 03252.095 W: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!
- 03276.363 W: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform!

Attachments (1)

broken_note_link.png (38.1 KB ) - added by mnalis 5 weeks ago.

Download all attachments as: .zip

Change History (1)

by mnalis, 5 weeks ago

Attachment: broken_note_link.png added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to mnalis.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.