Croway commented on PR #30679:
URL: https://github.com/apache/camel/pull/30679#issuecomment-7127398393

   Thanks for the review. Addressed in d04a1c1a:
   
   1. **Upgrade guide.** Three entries: the starting directory check resolving 
a name as a server does, the backslash rule, and the stepwise skip. They are in 
the 4.24 guide, in the "4.22.3 to 4.22.4" section, and in a new "4.18.6 to 
4.18.7" section. They also name camel-jsch and camel-azure-files, whose 
producers go through the same check. The 4.22 and 4.18 notes leave out 
CAMEL-27454, `handleDirectoryParserAbsoluteResult` and the scp change below. 
The 4.24 note on absolute names now mentions scp as well, which wrote a name 
starting with `/` relative to the home directory.
   2. **`isListedIn` with a drive.** A listed path that equals the expected 
path is now accepted, but only when the compacted path is still absolute, so 
`C:/../sub` is still skipped. Covered by 
`listedAbsolutePathsInTheListedDirectory`.
   3. **Trailing slash.** You're right: with stepwise and without 
`handleDirectoryParserAbsoluteResult`, a directory listed as `sub/` was 
skipped, where it was polled before. `isSubDirectoryName` now removes trailing 
`/` first (`/`, `../` and `sub\` stay refused), on all three lines, with 
`pollsListedRelativeDirectoryWithTrailingSeparatorStepwise`.
   4. **Nits.** `<tt>` is now `{@code}` in the three places, and 
`GenericFileHelper` compiles the separator pattern once.
   
   From the reviews of the backports, on all three lines: 
`isDirectoryOrParentOf` moved to `FtpUtils`, and the test waits with Awaitility 
instead of sleeping.
   
   #30673 was closed this morning, so the merge-order question is settled.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to