Skip to content

Commit

Permalink
Change sanitization to not remove slashes in project paths
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-mendonca committed Mar 26, 2024
1 parent 6c68fe7 commit 6e1cf19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-portuguese-ao90.php
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ public static function convert_project() {
$slug = '';

if ( isset( $_POST['projectPath'] ) ) {
$project_path = sanitize_key( $_POST['projectPath'] );
$project_path = sanitize_text_field( wp_unslash( $_POST['projectPath'] ) );
} else {
wp_die();
}
Expand Down

0 comments on commit 6e1cf19

Please sign in to comment.