Ensure we append path separator in SMB validation

Description

23.10 PR: https://github.com/truenas/middleware/pull/10770

When determining whether a mountpoint is a child of the current path, we should append path separator so that we don't generate false-positives in the following case

```
/mnt/dozer/SHARE
/mnt/dozer/SHARE2
```

Problem/Justification

None

Impact

None

Activity

Show:

Bug Clerk February 28, 2023 at 7:54 PM

Automation for Jira February 28, 2023 at 7:54 PM

This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.

Complete
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Priority

More fields

Katalon Platform

Created February 28, 2023 at 5:32 PM
Updated February 27, 2025 at 9:45 PM
Resolved February 28, 2023 at 7:55 PM