BryanMLima opened a new pull request, #6692:
URL: https://github.com/apache/cloudstack/pull/6692

   ### Description
   
   Currently, the API `quotaEmailTemplateUpdate` escapes JavaScript strings in 
the email templates for the `subject` and `body` fields. However, when using 
the API `quotaEmailTemplateList` the data returned were not unescaped, causing 
inconsistencies in the text. This PR aims to fix this behavior by removing the 
escape method in the API `quotaEmailTemplateUpdate` as it was unnecessary.
   
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [x] Bug fix (non-breaking change which fixes an issue)
   - [ ] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Feature/Enhancement Scale
   
   - [ ] Major
   - [ ] Minor
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [ ] Major
   - [ ] Minor
   - [x] Trivial
   
   
   ### Screenshots (if appropriate):
   
   
   ### How Has This Been Tested?
   This was tested in a local lab by changing the email templates in the 
`subject` and `body` field with special characters. After the emails arrived, 
the contents were correctly displayed.
   


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