Comment 1 for bug 1644886

Revision history for this message
jazzynico (jazzynico) wrote :

Another possibility to fix the profile path (but not the docbase). More elegant, but really needs some extra testing.

--- src/color-profile.cpp 2016-06-14 12:33:17 +0000
+++ src/color-profile.cpp 2016-11-25 17:43:52 +0000
@@ -314,7 +314,7 @@
                     //# 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, NULL, TRUE);

                     //g_message("docbase:%s\n", docbase);
                     //org::w3c::dom::URI docUri(docbase);