summaryrefslogtreecommitdiffstats
path: root/src/color-profile.cpp
diff options
context:
space:
mode:
authorNicolas Dufour <nicoduf@yahoo.fr>2015-07-05 09:18:18 +0000
committerJazzyNico <nicoduf@yahoo.fr>2015-07-05 09:18:18 +0000
commit87e7de3977d4aff931588b894d0c02a4ecdf4dc2 (patch)
tree3ab7d2eca59d87f89e026d5ec2cb87945260e66b /src/color-profile.cpp
parentFix compilation failure in make check (diff)
downloadinkscape-87e7de3977d4aff931588b894d0c02a4ecdf4dc2.tar.gz
inkscape-87e7de3977d4aff931588b894d0c02a4ecdf4dc2.zip
Colors. Fix for Bug #1457069 (ICC profile filename with [] causes a crash).
Fixed bugs: - https://launchpad.net/bugs/1457069 (bzr r14229)
Diffstat (limited to 'src/color-profile.cpp')
-rw-r--r--src/color-profile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/color-profile.cpp b/src/color-profile.cpp
index 85a6fa876..690a72654 100644
--- a/src/color-profile.cpp
+++ b/src/color-profile.cpp
@@ -313,7 +313,7 @@ void ColorProfile::set(unsigned key, gchar const *value) {
//# 1. Get complete URI of document
gchar const *docbase = doc->getURI();
- gchar* escaped = g_uri_escape_string(this->href, "!*'();:@=+$,/?#[]", TRUE);
+ gchar* escaped = g_uri_escape_string(this->href, "!*'();:@=+$,/?#", TRUE);
//g_message("docbase:%s\n", docbase);
//org::w3c::dom::URI docUri(docbase);