Menu

Web Documents URL

2018-06-21
2018-09-07
  • Marco Pieraks

    Marco Pieraks - 2018-06-21

    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
  • Guillaume Lajarige

    Hi Marco,

    Check the url_validation_pattern parameter in the configuration file (documentation here)

     
  • Marco Pieraks

    Marco Pieraks - 2018-09-07

    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#!+\$_.-]*)?',

     
  • Guillaume Lajarige

    Hi Marco,

    Glad it helped! :)

     

Log in to post a comment.

MongoDB Logo MongoDB