Hi,
i want to add an URL from Nuxeo to the Web Documents.
https://host.domain.tld/folder/ui/#!/doc/762515a7-uuid-287ab6c2d
But the systems says the url is in an invalid format.
Can anyone tell me where I can customize the test of the url?
Thanks
Hi Marco,
Check the url_validation_pattern parameter in the configuration file (documentation here)
Hi Guillaume,
It works now, thanks!
We changes the "url_validation_pattern" in the File: conf/production/config-itop.php
'url_validation_pattern' => '(https?|ftp)\://([a-zA-Z0-9+!*(),;?&=\$_.-]+(\:[a-zA-Z0-9+!*(),;?&=\$_.-]+)?@)?([a-zA-Z0-9-.]{3,})(\:[0-9]{2,5})?(/([a-zA-Z0-9#!%+\$_-]\.?)+)/?(\?[a-zA-Z+&\$_.-][a-zA-Z0-9#!;:[\]@&%=+/\$_.-])?(#[a-zA-Z_.-][a-zA-Z0-9#!+\$_.-]*)?',
Glad it helped! :)
Log in to post a comment.
Hi,
i want to add an URL from Nuxeo to the Web Documents.
https://host.domain.tld/folder/ui/#!/doc/762515a7-uuid-287ab6c2d
But the systems says the url is in an invalid format.
Can anyone tell me where I can customize the test of the url?
Thanks
Last edit: Marco Pieraks 2018-09-07
Hi Marco,
Check the url_validation_pattern parameter in the configuration file (documentation here)
Hi Guillaume,
It works now, thanks!
We changes the "url_validation_pattern" in the File: conf/production/config-itop.php
'url_validation_pattern' => '(https?|ftp)\://([a-zA-Z0-9+!*(),;?&=\$_.-]+(\:[a-zA-Z0-9+!*(),;?&=\$_.-]+)?@)?([a-zA-Z0-9-.]{3,})(\:[0-9]{2,5})?(/([a-zA-Z0-9#!%+\$_-]\.?)+)/?(\?[a-zA-Z+&\$_.-][a-zA-Z0-9#!;:[\]@&%=+/\$_.-])?(#[a-zA-Z_.-][a-zA-Z0-9#!+\$_.-]*)?',
Hi Marco,
Glad it helped! :)