cunningt opened a new pull request, #23270:
URL: https://github.com/apache/camel/pull/23270

   # Description
   
   https://issues.apache.org/jira/browse/CAMEL-23534
   
   Schema properties are URL-encoded when passed from Pipe to Kamelet via 
YamlRoutesBuilderLoader.createQueryString(), but were never decoded before 
reaching the schema resolvers. This caused parser errors when schemas contained 
special characters like quotes, equals signs, or brackets.
   
   This fix adds URL decoding to:
   - AvroSchemaResolver (Jackson and Jackson3)
   - ProtobufSchemaResolver (Jackson and Jackson3)
   - MimeType.of() method
   
   Added comprehensive tests for each component to verify URL-encoded schemas 
are properly decoded and parsed.
   
   # Target
   
   - [x ] I checked that the commit is targeting the correct branch (Camel 4 
uses the `main` branch)
   
   # Tracking
   - [x ] If this is a large change, bug fix, or code improvement, I checked 
there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for 
the change (usually before you start working on it).
   
   # Apache Camel coding standards and style
   
   - [x ] I checked that each commit in the pull request has a meaningful 
subject line and body.
   
   
   - [x ] I have run `mvn clean install -DskipTests` locally from root folder 
and I have committed all auto-generated changes.
   
   
   


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