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:
parent
ec0f597067
commit
019cfcadea
@ -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) ->
|
||||
|
Loading…
x
Reference in New Issue
Block a user