[ 
https://issues.apache.org/jira/browse/CAUSEWAY-4045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andi Huber resolved CAUSEWAY-4045.
----------------------------------
    Resolution: Resolved

resolved via 
https://github.com/apache/causeway/commit/56963aafdbd07ec88c8867902630de86e88e610b

> [BUG] DataUri record uses invalid SVG media type
> ------------------------------------------------
>
>                 Key: CAUSEWAY-4045
>                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-4045
>             Project: Causeway
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 4.0.0-M2
>            Reporter: Miklós Győrfi
>            Assignee: Andi Huber
>            Priority: Minor
>             Fix For: 4.0.0
>
>
> {panel}
>  * The {{org.apache.causeway.commons.net.DataUri}} record (introduced in 
> Causeway 4.0) has several compliance and interoperability issues with RFC 
> 2397 and W3C standards.
> h3. Incorrect SVG MIME Type
> {{DataUri.ImageType.SVG.mediaType()}} currently returns {{{}image/svg{}}}, 
> while the correct IANA-registered media type is {{{}image/svg+xml{}}}.
> This causes rendering failures in browsers and in Wicket image components 
> when SVGs are embedded via Data URIs.
> *Expected:*
> {{image/svg+xml}}
> ----
>  
> h2. Expected Behavior
>  * {{ImageType.SVG.mediaType()}} returns {{"image/svg+xml"}}
>  
> {panel}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to