1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-29 18:52:22 +01:00

[sso] fix endpoint regexp

This commit is contained in:
Sylvain 2016-09-13 12:09:55 +02:00
parent ec0f597067
commit 019cfcadea

View File

@ -18,7 +18,7 @@ Application.Directives.directive 'url', [ ->
Application.Directives.directive 'endpoint', [ ->
ENDPOINT_REGEXP = /^\/([-._~:?#\[\]@!$&'()*+,;=%\w]+\/?)*$/
ENDPOINT_REGEXP = /^\/?([-._~:?#\[\]@!$&'()*+,;=%\w]+\/?)*$/
{
require: 'ngModel'
link: (scope, element, attributes, ctrl) ->