Commit 22fe0889 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Permite ',' y ';' en validación de URL

Impedia la definición de URL con parámetros específicos de servicios
OGC.
parent 312ad9aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@ define([
			}

			var protocols = '((https?)|(ftp))',
				textSegment = '\\w\\-.:@%+~#={}',
				textSegment = '\\w\\-.:,;@%+~#={}',
				textSegmentPlusParams = textSegment + '?&\\/',
				regExp = new RegExp('^(' + protocols + ':\\/\\/)?[' + textSegment + ']{2,256}\\.[a-z]{2,6}[' +
					textSegmentPlusParams + ']*$');