Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interdire les namespaces WFS commançant par un chiffre #523

Open
slafayIGN opened this issue Sep 30, 2024 · 2 comments
Open

Interdire les namespaces WFS commançant par un chiffre #523

slafayIGN opened this issue Sep 30, 2024 · 2 comments
Labels
bug Anomalie d'une fonctionnalité existante question Le ticket a besoin d'être complété pour que sont traitement puisse avancer

Comments

@slafayIGN
Copy link
Contributor

slafayIGN commented Sep 30, 2024

Une couche publiée commençant par un chiffre a mis en difficulté le GetCapabilities du endpoint WFS.

L'API Entrepôt (configuration) doit évoluer pour que la propriété layer_name interdise cela. Sa regex actuelle est ^[A-Za-z0-9_\-.]+$.

L'interface peut également filtrer ce champ.

Il semblerait que la spécifications pour ce champs soit plutôt un NCName : http://www.datypic.com/sc/xsd/t-xsd_NCName.html

(Dans ce cas commencer par un - ou un . aurait également mis en échec le WFS)

@slafayIGN slafayIGN added the bug Anomalie d'une fonctionnalité existante label Sep 30, 2024
@slafayIGN slafayIGN added this to the MVP-0.3_November2024 milestone Sep 30, 2024
@slafayIGN
Copy link
Contributor Author

@CorentinPeutin ou @Dolite pouvez-vous confirmer que c'est bien le layer_name de la création de configuration qui est en cause et pas un autre champ ?
Et s'il est envisagé de modifier la regex côté API, nous aimerions prendre la même règle côté front.

@Dolite
Copy link

Dolite commented Sep 30, 2024

Oui c'est bien ce champ là. Le contrôle est en cours et se fera de la même manière sur le layer name pour tous les types de configuration.

@slafayIGN slafayIGN added the question Le ticket a besoin d'être complété pour que sont traitement puisse avancer label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Anomalie d'une fonctionnalité existante question Le ticket a besoin d'être complété pour que sont traitement puisse avancer
Projects
None yet
Development

No branches or pull requests

2 participants