You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the last version on production of the validator (4.2.15), the rules to verify the paths in the URLREG or URLFIC attributes seems to have changed. Previously, it was possible to write relative paths like ..\Pieces_ecrites\3_Reglement\99999_reglement_20210810.pdf but it's no more possible now. An error with "INVALID_ATTRIBUTE_FORMAT" is detected.
Could you confirme to me if this is a rule change (only absolute paths are valid like https://serveur/99999_reglement_20210810.pdf or if this is a bug ?
A complete URL is expected for URLREG and URLFIC and ..\Pieces_ecrites\3_Reglement\99999_reglement_20210810.pdf should not have been accepted by the past.
As I understand the CNIG standard, NOMFIC and NOMREG allows to specify the name of the file when a complete URL is not available. So, supporting a kind of relative path for URLREG and URLFIC would be useless. Please, use contact form on GpU ( https://www.geoportail-urbanisme.gouv.fr/contact/ ) if you think that it is an error.
Mickaël
PS : This issue is relative to the ability to apply regexp/pattern controls on URL (GpU not concerned)
Currently, "pattern" control is applied only on String. It should be applied at least to String, Filename and Path types.
Meanwhile, the validator will have to deal with values containing fragments such as "a-file.pdf#page=12" and
pattern
corresponding to "a-file.pdf".=> 4.1 as it may lead to unexpected behavior
The text was updated successfully, but these errors were encountered: