Ensure we append path separator in SMB validation
Description
Problem/Justification
None
Impact
None
Activity
Show:

Bug Clerk February 28, 2023 at 7:54 PM
22.12.2 PR: https://github.com/truenas/middleware/pull/10779

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
Details
Assignee

Reporter

Labels
Components
Fix versions
Priority
More fields
Time tracking
More fields
Time trackingKatalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Katalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Created February 28, 2023 at 5:32 PM
Updated February 27, 2025 at 9:45 PM
Resolved February 28, 2023 at 7:55 PM
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
```