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

stripURNPrefix is not robust #1

Open
jeroenh opened this issue Nov 4, 2011 · 0 comments
Open

stripURNPrefix is not robust #1

jeroenh opened this issue Nov 4, 2011 · 0 comments

Comments

@jeroenh
Copy link
Owner

jeroenh commented Nov 4, 2011

stripURNPrefix in topo checks for "urn:ogf:network" and then proceeds to do text.split(':')[-1]

If an ID ever contains ":" that will mess up the whole naming, and you won't be able to find back the object of the original topology.

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

1 participant