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

UDP namespace with @ not allowed/supported? #260

Closed
jdries opened this issue May 24, 2022 · 1 comment
Closed

UDP namespace with @ not allowed/supported? #260

jdries opened this issue May 24, 2022 · 1 comment

Comments

@jdries
Copy link

jdries commented May 24, 2022

I have a UDP in a namespace with an '@'.

The web editor can not properly load it because the @ and everything after it is dropped. Adding it again manually does trigger correct loading. Not sure if @ is an illegal character for namespace or some other problem?

https://editor.openeo.org/?server=https%3A%2F%2Fopeneo.vito.be&namespaces=u%3Adfa678cb9ab17f65d4f025e30fac5e0d90116176e44fd17d703419322747cbbd%40egi.eu&process=EVI%40u%3Adfa678cb9ab17f65d4f025e30fac5e0d90116176e44fd17d703419322747cbbd%40egi.eu

@m-mohr
Copy link
Member

m-mohr commented May 24, 2022

The implementation should follow the proposal in PR Open-EO/openeo-api#348

In the proposal, @ plus username is meant to be used for user namespaces so it has a special meaning and is not allowed in user ids, I think.

Regexp for user id: ^[\w\-\.~]+$
Regexp for namespaces: ^@?[\w\-\.~]+$

Has been some time since I worked with user namespaces, but if you follow the PR and the regex, it should work.

@m-mohr m-mohr closed this as not planned Won't fix, can't repro, duplicate, stale Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants