devices.utils
Utility functions for the devices app.
Module Contents
-
devices.utils.validate_common_name_characters(common_name)[source]
Validate that the common name contains only safe characters and no URL-like constructs.
- Parameters:
common_name (str)
- Return type:
None
-
devices.utils.validate_application_uri(application_uri)[source]
Validate that the application URI has a valid scheme and is not HTTP/HTTPS.
- Parameters:
application_uri (str)
- Return type:
None