Optimize interface path traversal sanitization #56
Labels
enhancement
New feature or request
performance
Performance / optimization related topics
security
Security / vulnerability related issues
Milestone
Currently, when creating a new link / interface the code performs a duplicate path sanitization via
filepath.Clean()
(because it opens two files in the same directory), which is unnecessary. Instead, it would be better to sanitize the name of the interface once and then call the individual functions as methods (using the sanitized / stored name of the interface).The text was updated successfully, but these errors were encountered: