You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "davsclaus (via GitHub)" <gi...@apache.org> on 2026/09/20 21:01:51 UTC
[PR] CAMEL-24854: the validator reports an include/exclude regex with a doubled backslash, which matches no file [camel]
davsclaus opened a new pull request, #26637:
URL: https://github.com/apache/camel/pull/26637
## Description
From the round-2 benchmark (series l3): after the validator's hint for `include: ".*\.json$"` (an unknown escape in double quotes, correctly answered with `write the value in single quotes: '.*\.json$'`), the model wrote `include: '.*\\.json$'`, doubling the backslash as a Java string would. Inside single quotes YAML keeps both, the regex then matches a file name containing a literal backslash, no file matched, and the route ran ten seconds in silence. A person used to Java strings makes the same slip.
`EndpointChecks.checkRegexOptions`, which already parses include/exclude on the file components, now reports a value with a doubled backslash:
```
Line 5: file: include=.*\\.json$ matches a backslash in the file name (in single quotes one backslash escapes the dot): write include='.*\.json$'
```
## Tests
`SourceValidatorEndpointTest.aDoubledBackslashInAnIncludeRegexIsReported`: the doubled form is reported with the form to write, the single-backslash form is not.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01Bp3538HRBPMQkb5ta9xRaj
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-24854: the validator reports an include/exclude regex with a doubled backslash, which matches no file [camel]
Posted by "gnodet-bot (via GitHub)" <gi...@apache.org>.
gnodet-bot commented on code in PR #26637:
URL: https://github.com/apache/camel/pull/26637#discussion_r4058090609
##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ai/EndpointChecks.java:
##########
@@ -326,6 +326,14 @@ static void checkRegexOptions(List<String> errors, String fullUri, int uriLineId
if (!name.equals("include") && !name.equals("exclude") || value.startsWith("{{")) {
continue;
}
+ if (value.contains("\\\\")) {
+ // '.*\\.json$' in single quotes: YAML keeps both backslashes, and the regex then matches a file name
+ // with a literal backslash, so no file matches and the route runs in silence (CAMEL-24854)
+ errors.add(linePrefix(optionLineMap.getOrDefault(name, uriLineIdx)) + fullUri.substring(0, colon) + ": "
+ + name + "=" + value + " matches a backslash in the file name (in single quotes one backslash"
+ + " escapes the dot): write " + name + "='" + value.replace("\\\\", "\\") + "'");
Review Comment:
⚠️ **Misleading error message**: the phrase `"in single quotes one backslash escapes the dot"` is factually wrong YAML semantics. In YAML single-quoted scalars, backslash has *no* special meaning — it is always literal. There is no backslash-escaping in single-quoted YAML.
The actual explanation is about *regex* escaping: in a regex, `\.` matches a literal dot, whereas `\\.` matches a backslash followed by any character. The user's mistake is applying Java string escaping (`\\` → `\`) to a YAML single-quoted string where it isn't needed.
Suggest rephrasing:
```suggestion
errors.add(linePrefix(optionLineMap.getOrDefault(name, uriLineIdx)) + fullUri.substring(0, colon) + ": "
+ name + "=" + value + " matches a backslash in the file name (in a regex, write \\\\."
+ " as \\. to match a literal dot): write " + name + "='" + value.replace("\\\\", "\\") + "'");
```
##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ai/EndpointChecks.java:
##########
@@ -326,6 +326,14 @@ static void checkRegexOptions(List<String> errors, String fullUri, int uriLineId
if (!name.equals("include") && !name.equals("exclude") || value.startsWith("{{")) {
continue;
}
+ if (value.contains("\\\\")) {
Review Comment:
⚠️ **False positive on intentional `\\` in regex**: `value.contains("\\\\")` fires on *any* doubled backslash, including a legitimately intended one. For example, `include='.*\\\\myfile.*'` (YAML single-quoted) would produce a value `.*\\myfile.*` — a valid regex matching a backslash before `myfile` — but this check would flag it and suggest corrupting the regex to `.*\myfile.*`.
Consider also checking whether the doubled backslash precedes a dot (the specific pattern from the bug report, `\\\.`), which is far less ambiguous as a user mistake:
```suggestion
if (value.contains("\\\\.")) {
```
This would still catch the `.*\\.json$` case (backslash-dot) while avoiding false positives on patterns that intentionally match a path separator or other literal backslash.
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-24854: the validator reports an include/exclude regex with a doubled backslash, which matches no file [camel]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on code in PR #26637:
URL: https://github.com/apache/camel/pull/26637#discussion_r4058109267
##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ai/EndpointChecks.java:
##########
@@ -326,6 +326,14 @@ static void checkRegexOptions(List<String> errors, String fullUri, int uriLineId
if (!name.equals("include") && !name.equals("exclude") || value.startsWith("{{")) {
continue;
}
+ if (value.contains("\\\\")) {
Review Comment:
Narrowed in b4bac855dd2a: the check now only fires when the doubled backslash precedes a character that a single backslash would escape in a regex (`.`, `d`/`s`/`w`, `(`, `[`, `+`, `*`, etc.). `.*\\\\myfile.*` is left alone: `\\myfile` is not a valid regex escape, so a literal backslash is the only thing it can mean. Added that case to the test. (For the record `include`/`exclude` match against `file.getName()`, the bare file name, so a literal backslash is essentially never intended, but the narrower check costs nothing.)
_Claude Code on behalf of @
##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ai/EndpointChecks.java:
##########
@@ -326,6 +326,14 @@ static void checkRegexOptions(List<String> errors, String fullUri, int uriLineId
if (!name.equals("include") && !name.equals("exclude") || value.startsWith("{{")) {
continue;
}
+ if (value.contains("\\\\")) {
+ // '.*\\.json$' in single quotes: YAML keeps both backslashes, and the regex then matches a file name
+ // with a literal backslash, so no file matches and the route runs in silence (CAMEL-24854)
+ errors.add(linePrefix(optionLineMap.getOrDefault(name, uriLineIdx)) + fullUri.substring(0, colon) + ": "
+ + name + "=" + value + " matches a backslash in the file name (in single quotes one backslash"
+ + " escapes the dot): write " + name + "='" + value.replace("\\\\", "\\") + "'");
Review Comment:
Agreed, the parenthetical described YAML wrongly. The message now reads: `include=.*\\\\.json$ matches a literal backslash in the file name (in a regex \\\\ is one backslash and \\. is a dot): write include='.*\\.json$'` — it explains the regex, not YAML. Same fix covers the other wording thread.
_Claude Code on behalf of @
##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ai/EndpointChecks.java:
##########
@@ -326,6 +326,14 @@ static void checkRegexOptions(List<String> errors, String fullUri, int uriLineId
if (!name.equals("include") && !name.equals("exclude") || value.startsWith("{{")) {
continue;
}
+ if (value.contains("\\\\")) {
+ // '.*\\.json$' in single quotes: YAML keeps both backslashes, and the regex then matches a file name
+ // with a literal backslash, so no file matches and the route runs in silence (CAMEL-24854)
+ errors.add(linePrefix(optionLineMap.getOrDefault(name, uriLineIdx)) + fullUri.substring(0, colon) + ": "
+ + name + "=" + value + " matches a backslash in the file name (in single quotes one backslash"
+ + " escapes the dot): write " + name + "='" + value.replace("\\\\", "\\") + "'");
Review Comment:
Reworded in b4bac855dd2a, see the reply on the sibling thread.
_Claude Code on behalf of @
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-24854: the validator reports an include/exclude regex with a doubled backslash, which matches no file [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #26637:
URL: https://github.com/apache/camel/pull/26637#issuecomment-5752891580
<!-- ci-tested-modules -->
:test_tube: **CI tested the following changed modules:**
- `dsl/camel-jbang/camel-jbang-core`
---
<details><summary>:microscope: Scalpel shadow comparison — Scalpel: 6 of 692 tested, 8 compile-only — current: 6 all tested</summary>
[Maveniverse Scalpel](https://github.com/maveniverse/scalpel) detected **15 affected modules** (current approach: 6).
**Skip-tests mode would test 6 modules** (1 direct + 6 downstream), **skip tests for 8** (generated code, meta-modules)
<details><summary>:warning: Modules only in Scalpel (9)</summary>
- `camel-jbang-core`
- `camel-jbang-it`
- `camel-jbang-main`
- `camel-jbang-plugin-edit`
- `camel-jbang-plugin-generate`
- `camel-jbang-plugin-kubernetes`
- `camel-jbang-plugin-test`
- `camel-launcher`
- `coverage`
</details>
<details><summary>Modules Scalpel would test (6)</summary>
- `camel-jbang-core` ← dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ai/EndpointChecks.java, dsl/camel-jbang/camel-jbang-core/src/test/java/org/apache/camel/dsl/jbang/core/commands/ai/SourceValidatorEndpointTest.java
- `camel-jbang-mcp` ← downstream of org.apache.camel:camel-jbang-core
- `camel-jbang-plugin-mcp` ← downstream of org.apache.camel:camel-jbang-core
- `camel-jbang-plugin-route-parser` ← downstream of org.apache.camel:camel-jbang-core
- `camel-jbang-plugin-tui` ← downstream of org.apache.camel:camel-jbang-core
- `camel-jbang-plugin-validate` ← downstream of org.apache.camel:camel-jbang-core
- `camel-launcher-container` ← downstream of org.apache.camel:camel-launcher
</details>
<details><summary>Modules with tests skipped (8)</summary>
- `camel-jbang-it`
- `camel-jbang-main`
- `camel-jbang-plugin-edit`
- `camel-jbang-plugin-generate`
- `camel-jbang-plugin-kubernetes`
- `camel-jbang-plugin-test`
- `camel-launcher`
- `coverage`
</details>
> :information_source: Shadow mode — Scalpel observes but does not affect test execution. [Learn more](https://github.com/maveniverse/scalpel)
</details>
:warning: **Some tests are disabled on GitHub Actions** (`@DisabledIfSystemProperty(named = "ci.env.name")`) and require manual verification:
- `dsl/camel-jbang/camel-jbang-core`: 2 test(s) disabled on GitHub Actions
:bulb: **Manual integration tests recommended:**
> You modified `dsl/camel-jbang/camel-jbang-core`. The related integration tests in `dsl/camel-jbang/camel-jbang-it` are excluded from CI. Consider running them manually:
> ```
> mvn verify -f dsl/camel-jbang/camel-jbang-it -Djbang-it-test
> ```
<details><summary>All tested modules (15 modules, 0.0s total)</summary>
**Total reactor time:** 0.0s
| Module | Duration | Status |
| --- | --- | --- |
| Camel :: Coverage | n/a | |
| Camel :: JBang :: Core | n/a | |
| Camel :: JBang :: Integration tests | n/a | |
| Camel :: JBang :: MCP | n/a | |
| Camel :: JBang :: Main | n/a | |
| Camel :: JBang :: Plugin :: Edit | n/a | |
| Camel :: JBang :: Plugin :: Generate | n/a | |
| Camel :: JBang :: Plugin :: Kubernetes | n/a | |
| Camel :: JBang :: Plugin :: MCP | n/a | |
| Camel :: JBang :: Plugin :: Route Parser | n/a | |
| Camel :: JBang :: Plugin :: TUI | n/a | |
| Camel :: JBang :: Plugin :: Testing | n/a | |
| Camel :: JBang :: Plugin :: Validate | n/a | |
| Camel :: Launcher | n/a | |
| Camel :: Launcher :: Container | n/a | |
</details>
---
:gear: [View full build and test results](https://github.com/apache/camel/actions/runs/35538102429)
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-24854: the validator reports an include/exclude regex with a doubled backslash, which matches no file [camel]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on code in PR #26637:
URL: https://github.com/apache/camel/pull/26637#discussion_r4058109267
##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ai/EndpointChecks.java:
##########
@@ -326,6 +326,14 @@ static void checkRegexOptions(List<String> errors, String fullUri, int uriLineId
if (!name.equals("include") && !name.equals("exclude") || value.startsWith("{{")) {
continue;
}
+ if (value.contains("\\\\")) {
Review Comment:
Narrowed in b4bac855dd2a: the check now only fires when the doubled backslash precedes a character that a single backslash would escape in a regex (`.`, `d`/`s`/`w`, `(`, `[`, `+`, `*`, etc.). `.*\\\\myfile.*` is left alone: `\\myfile` is not a valid regex escape, so a literal backslash is the only thing it can mean. Added that case to the test. (For the record `include`/`exclude` match against `file.getName()`, the bare file name, so a literal backslash is essentially never intended, but the narrower check costs nothing.)
_Claude Code on behalf of @
##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ai/EndpointChecks.java:
##########
@@ -326,6 +326,14 @@ static void checkRegexOptions(List<String> errors, String fullUri, int uriLineId
if (!name.equals("include") && !name.equals("exclude") || value.startsWith("{{")) {
continue;
}
+ if (value.contains("\\\\")) {
+ // '.*\\.json$' in single quotes: YAML keeps both backslashes, and the regex then matches a file name
+ // with a literal backslash, so no file matches and the route runs in silence (CAMEL-24854)
+ errors.add(linePrefix(optionLineMap.getOrDefault(name, uriLineIdx)) + fullUri.substring(0, colon) + ": "
+ + name + "=" + value + " matches a backslash in the file name (in single quotes one backslash"
+ + " escapes the dot): write " + name + "='" + value.replace("\\\\", "\\") + "'");
Review Comment:
Agreed, the parenthetical described YAML wrongly. The message now reads: `include=.*\\\\.json$ matches a literal backslash in the file name (in a regex \\\\ is one backslash and \\. is a dot): write include='.*\\.json$'` — it explains the regex, not YAML. Same fix covers the other wording thread.
_Claude Code on behalf of @
##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ai/EndpointChecks.java:
##########
@@ -326,6 +326,14 @@ static void checkRegexOptions(List<String> errors, String fullUri, int uriLineId
if (!name.equals("include") && !name.equals("exclude") || value.startsWith("{{")) {
continue;
}
+ if (value.contains("\\\\")) {
+ // '.*\\.json$' in single quotes: YAML keeps both backslashes, and the regex then matches a file name
+ // with a literal backslash, so no file matches and the route runs in silence (CAMEL-24854)
+ errors.add(linePrefix(optionLineMap.getOrDefault(name, uriLineIdx)) + fullUri.substring(0, colon) + ": "
+ + name + "=" + value + " matches a backslash in the file name (in single quotes one backslash"
+ + " escapes the dot): write " + name + "='" + value.replace("\\\\", "\\") + "'");
Review Comment:
Reworded in b4bac855dd2a, see the reply on the sibling thread.
_Claude Code on behalf of @
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-24854: the validator reports an include/exclude regex with a doubled backslash, which matches no file [camel]
Posted by "gnodet-bot (via GitHub)" <gi...@apache.org>.
gnodet-bot commented on code in PR #26637:
URL: https://github.com/apache/camel/pull/26637#discussion_r4058089353
##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ai/EndpointChecks.java:
##########
@@ -326,6 +326,14 @@ static void checkRegexOptions(List<String> errors, String fullUri, int uriLineId
if (!name.equals("include") && !name.equals("exclude") || value.startsWith("{{")) {
continue;
}
+ if (value.contains("\\\\")) {
+ // '.*\\.json$' in single quotes: YAML keeps both backslashes, and the regex then matches a file name
+ // with a literal backslash, so no file matches and the route runs in silence (CAMEL-24854)
+ errors.add(linePrefix(optionLineMap.getOrDefault(name, uriLineIdx)) + fullUri.substring(0, colon) + ": "
+ + name + "=" + value + " matches a backslash in the file name (in single quotes one backslash"
+ + " escapes the dot): write " + name + "='" + value.replace("\\\\", "\\") + "'");
Review Comment:
💬 **Wording nit — the parenthetical is misleading to the user.**
The current message says: `"matches a backslash in the file name (in single quotes one backslash escapes the dot)"`. The parenthetical tries to explain *why* the single-backslash form is correct, but it conflates YAML and regex semantics: in YAML single-quoted scalars, backslash has *no* special meaning at all — `'.*\.json$'` is the literal string `.*\.json$` (one backslash before the dot). The regex engine then interprets `\.` as an escaped dot, matching only a literal dot. The message should explain the *regex* meaning, not imply YAML performs any escaping.
Suggested replacement:
```suggestion
+ name + "=" + value + " matches a literal backslash in the file name; write "
+ " " + name + "='" + value.replace("\\\\", "\\") + "' (one backslash: \\. matches a dot in the regex)");
```
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-24854: the validator reports an include/exclude regex with a doubled backslash, which matches no file [camel]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #26637:
URL: https://github.com/apache/camel/pull/26637
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-24854: the validator reports an include/exclude regex with a doubled backslash, which matches no file [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #26637:
URL: https://github.com/apache/camel/pull/26637#issuecomment-5752642283
:star2: Thank you for your contribution to the Apache Camel project! :star2:
:robot: CI automation will test this PR automatically.
:camel: Apache Camel Committers, please review the following items:
* First-time contributors **require MANUAL approval** for the GitHub Actions to run
* You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot although they are normally detected and executed by CI.
* You can label PRs using `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR.
* Build and test logs are available in the summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary.
:warning: Be careful when sharing logs. Review their contents before sharing them publicly.
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-24854: the validator reports an include/exclude regex with a doubled backslash, which matches no file [camel]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on code in PR #26637:
URL: https://github.com/apache/camel/pull/26637#discussion_r4058111148
##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ai/EndpointChecks.java:
##########
@@ -326,6 +326,14 @@ static void checkRegexOptions(List<String> errors, String fullUri, int uriLineId
if (!name.equals("include") && !name.equals("exclude") || value.startsWith("{{")) {
continue;
}
+ if (value.contains("\\\\")) {
Review Comment:
Narrowed in b4bac855dd2a: the check now only fires when the doubled backslash precedes a character that a single backslash would escape in a regex (`.`, `d`/`s`/`w`, `(`, `[`, `+`, `*`, etc.). `.*\\myfile.*` is left alone: `\myfile` is not a valid regex escape, so a literal backslash is the only thing it can mean. Added that case to the test. (For the record `include`/`exclude` match against `file.getName()`, the bare file name, so a literal backslash is essentially never intended, but the narrower check costs nothing.)
_Claude Code on behalf of @davsclaus_
##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ai/EndpointChecks.java:
##########
@@ -326,6 +326,14 @@ static void checkRegexOptions(List<String> errors, String fullUri, int uriLineId
if (!name.equals("include") && !name.equals("exclude") || value.startsWith("{{")) {
continue;
}
+ if (value.contains("\\\\")) {
+ // '.*\\.json$' in single quotes: YAML keeps both backslashes, and the regex then matches a file name
+ // with a literal backslash, so no file matches and the route runs in silence (CAMEL-24854)
+ errors.add(linePrefix(optionLineMap.getOrDefault(name, uriLineIdx)) + fullUri.substring(0, colon) + ": "
+ + name + "=" + value + " matches a backslash in the file name (in single quotes one backslash"
+ + " escapes the dot): write " + name + "='" + value.replace("\\\\", "\\") + "'");
Review Comment:
Agreed, the parenthetical described YAML wrongly. The message now reads: `include=.*\\.json$ matches a literal backslash in the file name (in a regex \\ is one backslash and \. is a dot): write include='.*\.json$'` — it explains the regex, not YAML. Same fix (b4bac855dd2a) covers the other wording thread.
_Claude Code on behalf of @davsclaus_
##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ai/EndpointChecks.java:
##########
@@ -326,6 +326,14 @@ static void checkRegexOptions(List<String> errors, String fullUri, int uriLineId
if (!name.equals("include") && !name.equals("exclude") || value.startsWith("{{")) {
continue;
}
+ if (value.contains("\\\\")) {
+ // '.*\\.json$' in single quotes: YAML keeps both backslashes, and the regex then matches a file name
+ // with a literal backslash, so no file matches and the route runs in silence (CAMEL-24854)
+ errors.add(linePrefix(optionLineMap.getOrDefault(name, uriLineIdx)) + fullUri.substring(0, colon) + ": "
+ + name + "=" + value + " matches a backslash in the file name (in single quotes one backslash"
+ + " escapes the dot): write " + name + "='" + value.replace("\\\\", "\\") + "'");
Review Comment:
Reworded in b4bac855dd2a, see the reply on the sibling thread.
_Claude Code on behalf of @davsclaus_
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org