Modify

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#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?

  1. Tag an object with "website" containing HTTPS (like "https://josm.openstreetmap.de/")
  2. 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 GerdP, 5 years ago

I think the message means you should omit the protocol.

comment:2 by skyper, 5 years ago

Component: Core validatorExternal 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 skyper, 5 years ago

Owner: changed from team to anonymous
Status: newneedinfo

comment:4 by Don-vip, 5 years ago

Resolution: needinfo
Status: needinfoclosed

comment:5 by anonymous, 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 stoecker, 5 years ago

Please create an example file and attach it. The URL validator knows about the https protocol.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain anonymous.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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