#20399 closed defect (needinfo)
Invalid validation for HTTPS
| Reported by: | anonymous | Owned by: | anonymous |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | External rule | Version: | |
| Keywords: | template_report url | Cc: |
Description
What steps will reproduce the problem?
- Tag an object with "website" containing HTTPS (like "https://josm.openstreetmap.de/")
- Press Validate
What is the expected result?
It should pass the validation.
What happens instead?
JOSM gives a validation warning:
"URL validator - 'website': URL contains an invalid protocol: https"
Please provide any additional information below. Attach a screenshot if possible.
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2020-12-28 22:03:23 +0100 (Mon, 28 Dec 2020) Build-Date:2020-12-29 02:30:53 Revision:17428 Relative:URL: ^/trunk Identification: JOSM/1.5 (17428 en) Windows 10 64-Bit OS Build number: Windows 10 Pro 2009 (19042) Memory Usage: 1018 MB / 1820 MB (748 MB allocated, but free) Java version: 1.8.0_271-b09, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920×1080 (scaling 1.00×1.00) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→32×32, 32×32→32×32 Program arguments: [D:\osm_fix.osc] Dataset consistency test: No problems found Plugins: + PicLayer (2a9aa7a) + buildings_tools (35669) + http2 + imagery_offset_db (35640) + measurement (35640) + pbf (35650) + pdfimport (35640) + turnrestrictions (35640) Last errors/warnings: - 00004,286 W: Plugin http2 requires Java version 11. The current Java version is 8. You have to update Java in order to use this plugin. - 00027,252 W: Conflicts detected - <html>There were 75 conflicts detected.</html>
Attachments (0)
Change History (6)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
| Component: | Core validator → External rule |
|---|---|
| Keywords: | url added |
I do not get this warning with plain JOSM. Has to be part of an external rule. Which one?
comment:3 by , 5 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → needinfo |
comment:4 by , 5 years ago
| Resolution: | → needinfo |
|---|---|
| Status: | needinfo → closed |
comment:5 by , 5 years ago
You can find this settings at Preferences / Data validator / Tests / Internet tags. It's an internal rule AFAIK.
With "Internet tags" switched off, the message goes away.
BTW, the "http://" prefix is accepted so I think the "https://" should be as well. Even though everyone's moving to HTTPS, there are lots of sites accepting only HTTP.
comment:6 by , 5 years ago
Please create an example file and attach it. The URL validator knows about the https protocol.



I think the message means you should omit the protocol.