-
Notifications
You must be signed in to change notification settings - Fork 31
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
_validate_suffix_collections needs rework #119
Comments
the self link for this resource looks like this:
|
@wojtek0806 slashes arent the problem as the selfLink shows that slashes are converted, or interpreted, as tilde's (~). What happens if you provide your same value with ~ instead of / ? |
if you check function it will also raise exception.. |
wojtek0806
added a commit
to wojtek0806/f5-icontrol-rest-python
that referenced
this issue
Nov 29, 2016
Problem: _validate_suffix_collections method assumes that '~' and '/' in elements are incorrect. This leads to issues where 'name' contains '~' or '/' on purpose. Analysis: This patch introduces name_transform bool (with default being False), with it set to True, the 'name' element will not be validated for the presence of '~' and '/' characters. It will also convert all '/' in the name into '~'. To use this ability BIGIP needs to pass the argument 'name_transform' in the **kwargs when calling the iControl. Tests: unit functional
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have recently hit an edge case where the name of my resource had to contain '/' this has led to problems with our validation method:
This issue is blocking the implementation of GTM endpoints in our SDK
The text was updated successfully, but these errors were encountered: