play-to-xbmc-chrome icon indicating copy to clipboard operation
play-to-xbmc-chrome copied to clipboard

Only allow IP adress / hostname in the "URL" field.

Open pquerner opened this issue 9 years ago • 4 comments

Eg. by this regexp:

http://stackoverflow.com/a/106223/3020926

pquerner avatar May 16 '15 02:05 pquerner

Better yet. Rename that field just to "Host" and as placeholder text keep "hostname" or "IP address" (Is ipv6 possible, too?!)

pquerner avatar May 16 '15 18:05 pquerner

Host does seem to make more sense than URL, and I don't see why IPv6 is not ok!

khloke avatar May 17 '15 07:05 khloke

I havent tried this extension with a ipv6 address. If its not working it shouldnt just say "IP adress" but better ipv4 then.

pquerner avatar May 18 '15 14:05 pquerner

I try URL http://mysite and https://mysite. But only mysite work without protocol. This field not URL, it`s HOSTNAME.

You can see https://en.wikipedia.org/wiki/Uniform_Resource_Identifier#Syntax sheme is required for URL.

rshadow avatar Oct 17 '17 17:10 rshadow