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

   ### Description
   
   Two new settings at domain level were added to allow definition of header 
and footer of Quota emails:
   - `quota.email.header`: defines the header of all Quota emails.
   - `quota.email.footer`: defines the footer of all Quota emails.
   
   The settings are added directly to the body of the text, so if you want a 
line break between the header/footer and the body of the text, you need to make 
it explicit (e.g. `<br/>`). By default the header/footer are not defined.
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [X] New feature (non-breaking change which adds functionality)
   - [ ] 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
   - [X] Minor
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [ ] Major
   - [ ] Minor
   - [ ] Trivial
   
   
   ### Screenshots (if appropriate):
   
   
   ### How Has This Been Tested?
   Defined the header and footer as `<h1>header</h1>` and 
`f<b>oot</b><u>er</u><script>alert(1)</script>`.   
   Result:
   
![image](https://github.com/apache/cloudstack/assets/48719461/6b867b28-4d41-4796-8206-80707b027ba5)


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