Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bug Fixes Summary for DotCMS .NET SDK
Fixed Bugs
1. ✅ Unused Variable in DotCmsUVEController
pageModevariable is now properly used and sent to the service as a stringControllers/DotCmsUVEController.csline 532. ✅ Missing Null Check for Path Parameter
catchAllparameter, defaulting to "/" if null or emptyControllers/DotCmsUVEController.cslines 39-433. ✅ Resource Leak in ContentletExample Method
Clone()method usage that was causing resource leaksControllers/DotCmsUVEController.cslines 94-1114. ✅ Inconsistent Error Handling
Controllers/DotCmsUVEController.cslines 73-76 and 119-1225. ✅ Missing Path Validation in Service
NormalizePathmethodServices/DotCmsService.cslines 424-4286. ✅ Missing Validation for Depth Parameter
Services/DotCmsService.cslines 163-1717. ✅ Inefficient String Concatenation in Logging
Controllers/DotCmsUVEController.cslines 35, 50-52, 818. ✅ GraphQL Query Injection Risk
EscapeGraphqlStringmethod to properly escape user input in GraphQL queriesServices/DotCmsService.cslines 383-415 and 417-432Additional Improvements Made
Remaining Recommendations
While we've fixed the critical bugs, here are some additional improvements that could be made:
Testing Recommendations
To verify these fixes: