This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-4.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-4.18.x by this push:
     new a21fff7c9ae3 [backport camel-4.18.x] chore(docs): escape wildcards in 
monospace so pages render valid HTML (#26380) (#26382)
a21fff7c9ae3 is described below

commit a21fff7c9ae33d3677a49b4b642bd7463514b3fa
Author: Adriano Machado <[email protected]>
AuthorDate: Mon Sep 14 00:34:54 2026 -0400

    [backport camel-4.18.x] chore(docs): escape wildcards in monospace so pages 
render valid HTML (#26380) (#26382)
    
    A * inside a single-backtick span is still parsed as a formatting mark,
    so spans such as `mail.smtp.*` or `!java.net.**;java.**;...;!*` pair up
    with a later * and produce mis-nested HTML like <code>…<strong></code>.
    The website's HTML-to-Markdown step then loses article.doc and skips the
    page, so the components/4.18.x .md mirror returns 404
    (apache/camel-website#1746).
    
    Use literal monospace (`+…+`) for those spans in the mail and leveldb
    component docs published from this branch. leveldb is not on main (the
    component was removed there), so its change is new in this backport.
    
    _Claude Code on behalf of Adriano Machado (@ammachado)_
    
    _This was generated by an AI agent and may contain inaccuracies.
    Please verify before relying on it._
---
 components/camel-leveldb/src/main/docs/leveldb.adoc     | 6 +++---
 components/camel-mail/src/main/docs/mail-component.adoc | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/components/camel-leveldb/src/main/docs/leveldb.adoc 
b/components/camel-leveldb/src/main/docs/leveldb.adoc
index 453d090ae593..d34d92f60148 100644
--- a/components/camel-leveldb/src/main/docs/leveldb.adoc
+++ b/components/camel-leveldb/src/main/docs/leveldb.adoc
@@ -76,12 +76,12 @@ used then the `maximumRedeliveries` option must also be 
provided.
 |`deserializationFilter` |String |A deserialization filter used when
 deserializing exchange data from the LevelDB store. The filter uses the
 standard Java `ObjectInputFilter` pattern syntax. By default, the filter
-is set to `!java.net.**;java.**;org.apache.camel.**;!*`, which denies
-classes under `java.net.*` (whose `hashCode`/`equals` methods perform
+is set to `+!java.net.**;java.**;org.apache.camel.**;!*+`, which denies
+classes under `+java.net.*+` (whose `hashCode`/`equals` methods perform
 network I/O) and otherwise allows Java platform classes and Apache Camel
 classes. If your application stores custom objects, you can adjust this
 filter to include additional packages
-(e.g., `!java.net.**;java.**;org.apache.camel.**;com.mycompany.**;!*`).
+(e.g., `+!java.net.**;java.**;org.apache.camel.**;com.mycompany.**;!*+`).
 |=======================================================================
 
 The `repositoryName` option must be provided. Then either the
diff --git a/components/camel-mail/src/main/docs/mail-component.adoc 
b/components/camel-mail/src/main/docs/mail-component.adoc
index 3616aaaee5df..923f3acd6922 100644
--- a/components/camel-mail/src/main/docs/mail-component.adoc
+++ b/components/camel-mail/src/main/docs/mail-component.adoc
@@ -591,13 +591,13 @@ For example, to provide a dynamic uuid in 
`mail.smtp.from` (SMTP MAIL command):
 NOTE: This is only supported when *not* using a custom `JavaMailSender`.
 
 WARNING: This feature is *disabled by default* and must be explicitly enabled 
with
-`useJavaMailSessionPropertiesFromHeaders=true`. The `mail.smtp.*` / 
`mail.smtps.*` keys are a
+`useJavaMailSessionPropertiesFromHeaders=true`. The `+mail.smtp.*+` / 
`+mail.smtps.*+` keys are a
 Camel-internal namespace that is not filtered by any `HeaderFilterStrategy`, 
so if these headers can
 originate from data crossing a trust boundary (for example HTTP query 
parameters, or JMS/Kafka
 messages from untrusted producers) an attacker could weaken transport security 
(such as
 `mail.smtp.ssl.trust` or `mail.smtp.starttls.enable`) or redirect the SMTP 
connection. Only enable
 the option when these headers are set exclusively by trusted route logic, and 
strip the namespace
-with `removeHeaders("mail.smtp.*", "mail.smtps.*")` before the producer when 
bridging an untrusted
+with `+removeHeaders("mail.smtp.*", "mail.smtps.*")+` before the producer when 
bridging an untrusted
 source.
 
 

Reply via email to