-
Sanitize vs Validate. What is the difference ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
In the |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
In the
pathvalidate
package,sanitize
means that remove/replace invalid characters from a value to make a valid filename/filepath for a specific platform.validate
means checking whether invalid characters are included in the value. And this has not changed the original value.