Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit fb7bf26

Browse files
author
vikasrohit
committed
Merge pull request #753 from appirio-tech/feature/long-tld-support
AS#101110714058011, User cannot add custom URL to profile
2 parents 959e0bf + 215c1ea commit fb7bf26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/directives/external-account/external-web-links.directive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import angular from 'angular'
2525
$log = $log.getInstance('ExternalWebLinkCtrl')
2626
$scope.addingWebLink = false
2727
$scope.errorMessage = null
28-
$scope.urlRegEx = /^(http(s?):\/\/)?(www\.)?[a-zA-Z0-9\.\-\_]+(\.[a-zA-Z]{2,3})+(\/[a-zA-Z0-9\_\-\s\.\/\?\%\#\&\=]*)?$/
28+
$scope.urlRegEx = /^(http(s?):\/\/)?(www\.)?[a-zA-Z0-9\.\-\_]+(\.[a-zA-Z]{2,15})+(\/[a-zA-Z0-9\_\-\s\.\/\?\%\#\&\=]*)?$/
2929

3030
$scope.addWebLink = function() {
3131
$log.debug('URL: ' + $scope.url)

0 commit comments

Comments
 (0)