Badsender-com / LePatron.email

LePatron is an opensource email builder allowing to industrialize your email template production. Build tailor made email templates and make them available to your non-technical users.
https://www.lepatron.email
GNU General Public License v3.0
73 stars 12 forks source link

Preserving URL Formatting During CDN Exports #759

Closed omar-bear closed 8 months ago

omar-bear commented 8 months ago

Description: Preserving URL Formatting During CDN Exports

The problem originates from the backend schema. When I save group updates, it leads to changes due to the following code in the schema:

    cdnEndPoint: {
      type: String,
      set: normalizeString,
    },

Simply remove set: normalizeString, from the second line, and everything works well.

Warning from Existing Problem

When I update the CDN link with the special character ", it poses a problem. In the exported code, it is interpreted as if I closed the " of the image URL. As a result, an error occurs.

sonarcloud[bot] commented 8 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud