diff options
author | portix <none@none> | 2012-07-02 20:35:50 +0200 |
---|---|---|
committer | portix <none@none> | 2012-07-02 20:35:50 +0200 |
commit | 93822b6056c9606cc4c10f71e0dcc6d1e1debe2d (patch) | |
tree | d6549f7aeb1760a25474f55fcaf999ad3b50ea18 | |
parent | ca4cdefacb0892b0257628e8320f1944d9cee576 (diff) | |
download | dwb-93822b6056c9606cc4c10f71e0dcc6d1e1debe2d.zip |
Don't unescape uri if it contains \\n, \\r or \\f"
-rw-r--r-- | src/dwb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -503,7 +503,7 @@ dwb_update_uri(GList *gl) { View *v = VIEW(gl); const char *uri = webkit_web_view_get_uri(CURRENT_WEBVIEW()); - char *decoded = g_uri_unescape_string(uri, NULL); + char *decoded = g_uri_unescape_string(uri, "\n\r\f"); DwbColor *uricolor; switch(v->status->ssl) { case SSL_TRUSTED: uricolor = &dwb.color.ssl_trusted; break; |