sparkler icon indicating copy to clipboard operation
sparkler copied to clipboard

URL validator used in injector is too strict

Open thammegowda opened this issue 8 years ago • 0 comments

Background:

Injector uses a URLValidator utility to validate urls before injection

Problem

URL validator used in injector is too strict, often times not passing valid urls. Example: we cant inject http://localhost:8081, looks like the validator checks that host name is a valid domain name.

Work around:

For localhost use loopback IP 127.0.0.1

Expected solution

URL validator shall pass urls which have hostnames that many not be valid domain names.

thammegowda avatar Mar 20 '17 23:03 thammegowda