mirror of
https://github.com/penpot/penpot.git
synced 2025-05-17 05:06:11 +02:00
🐛 Use safer defaults for xml parser.
This commit is contained in:
parent
94a294e147
commit
4f20d22a4f
4 changed files with 17 additions and 6 deletions
|
@ -396,7 +396,7 @@
|
|||
|
||||
(defn parse-svg [[name text]]
|
||||
(->> (http/send! {:method :post
|
||||
:uri "/api/svg"
|
||||
:uri "/api/svg/parse"
|
||||
:headers {"content-type" "image/svg+xml"}
|
||||
:body text})
|
||||
(rx/map (fn [{:keys [status body]}]
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
;; This Source Code Form is "Incompatible With Secondary Licenses", as
|
||||
;; defined by the Mozilla Public License, v. 2.0.
|
||||
;;
|
||||
;; Copyright (c) 2020 UXBOX Labs SL
|
||||
;; Copyright (c) UXBOX Labs SL
|
||||
|
||||
(ns app.main.repo
|
||||
(:require
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue