Skip to content

add validateSiapath to validate renter siapaths on upload

Ava Howell requested to merge siapath-sanitize into master

This PR fixes an issue where by specifying a siapath with ../, users could write .sia files outside of their renter directory anywhere on their filesystem. I also moved the existing validation to the validateSiapath function and added testing around it.

Merge request reports