View Issue Details

IDProjectCategoryView StatusLast Update
0005079CTT UA Scripts1 - Script Issuepublic2023-05-19 15:37
ReporterAdrian Scholl Assigned ToYannik Klaass  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version1.03.503Fixed in Version1.03.503 
Summary0005079: AssertValidURL does not accept valid urls containing a dot '.'
Description

The AssertValidURL function does not accept all valid URLs. If an URL contains for exmaple an IP address this URL is not accepted. When doing client tests this leads to many errors in the script output if the configuration is done using IP addresses

Steps To Reproduce

Run the attached checkURL.js script. This file contains examples of valid URLs which are not accepted by the regular expression of the function.

TagsNo tags attached.
Attached Files
checkURL.js (342 bytes)   
include( "./library/Common/Assertions.js" );

AssertValidURL("opc.tcp://127.0.0.1:4840", "'opc.tcp://127.0.0.1:4840' should be a valid URL")
AssertValidURL("opc.tcp://example.com:4840", "'opc.tcp://example.com:4840' should be a valid URL")
AssertValidURL("opc.tcp://hostname.in.domain", "'opc.tcp://hostname.in.domain' should be a valid URL")
checkURL.js (342 bytes)   
Files Affected

Activities

Yannik Klaass

2022-04-20 08:25

developer   ~0016598

The RegEx in AssertValidURL() has been extended for the authority by the unreserved characters period and tilde.

Paul Hunkar

2023-05-19 15:37

administrator   ~0019414

Reviewed changes in call agreed to changes and closed issue

Issue History

Date Modified Username Field Change
2019-09-24 08:34 Adrian Scholl New Issue
2019-09-24 08:34 Adrian Scholl File Added: checkURL.js
2019-09-27 14:40 Paul Hunkar Assigned To => Alexander Allmendinger
2019-09-27 14:40 Paul Hunkar Status new => assigned
2022-04-11 09:38 Alexander Allmendinger Assigned To Alexander Allmendinger => Yannik Klaass
2022-04-20 08:25 Yannik Klaass Status assigned => resolved
2022-04-20 08:25 Yannik Klaass Resolution open => fixed
2022-04-20 08:25 Yannik Klaass Note Added: 0016598
2022-08-02 20:03 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Scripts
2022-08-02 20:23 Paul Hunkar Project CTT UA Scripts => .NET API
2022-08-02 20:23 Paul Hunkar Category 1 - Script Issue => Api Change
2022-08-04 14:24 Paul Hunkar Project .NET API => Compliance Test Tool (CTT) Unified Architecture
2023-05-19 15:36 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Scripts
2023-05-19 15:36 Paul Hunkar Category Api Change => 1 - Script Issue
2023-05-19 15:36 Paul Hunkar Fixed in Version => 1.03.503
2023-05-19 15:36 Paul Hunkar Target Version => 1.03.503
2023-05-19 15:37 Paul Hunkar Status resolved => closed
2023-05-19 15:37 Paul Hunkar Note Added: 0019414