Project

General

Profile

Bug #1584

Cannot preview some URLs (doesn't appear to support non-FDQN hosts)

Added by Luke Murphey over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
11/14/2016
Due date:
% Done:

100%

History

#1 Updated by Luke Murphey over 7 years ago

The function checkURL() within web_input_preview_dialog.html

#2 Updated by Luke Murphey over 7 years ago

  • Subject changed from Cannot preview some URLs to Cannot preview some URLs (doesn't appear to support non-FDQN hosts)

#3 Updated by Luke Murphey over 7 years ago

This is the current regex:

/^(http|https|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]).(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0).(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0).(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])|([a-zA-Z0-9-]+.)*[a-zA-Z0-9-]+.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\+&%$#=~_-]+))*$/

#4 Updated by Luke Murphey over 7 years ago

  • Target version set to 3.2.1

#5 Updated by Luke Murphey over 7 years ago

  • % Done changed from 0 to 100

#6 Updated by Luke Murphey over 7 years ago

  • Status changed from New to Closed

Also available in: Atom PDF