Changeset 18896 in josm for trunk/test/unit


Ignore:
Timestamp:
2023-11-10T13:44:25+01:00 (4 months ago)
Author:
taylor.smock
Message:

Fix #23235: Revert r18869

The URI specification only allows for ascii characters.
See https://datatracker.ietf.org/doc/html/rfc3986#section-1.2.1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/validation/routines/UrlValidatorTest.java

    r18869 r18896  
    566566            new ResultPair("/..//file", false),
    567567            new ResultPair("/test1//file", false),
    568             new ResultPair("/projekte-und-themen/eulen-falken-und-deren-nistkästen/trafotürme", true)
     568            // non-ascii characters are invalid for URIs. See https://datatracker.ietf.org/doc/html/rfc3986#section-1.2.1
     569            new ResultPair("/projekte-und-themen/eulen-falken-und-deren-nistkästen/trafotürme", false)
    569570    };
    570571
Note: See TracChangeset for help on using the changeset viewer.