diff options
author | Mason Larobina <mason.larobina@gmail.com> | 2010-03-23 00:32:39 +0800 |
---|---|---|
committer | Mason Larobina <mason.larobina@gmail.com> | 2010-03-23 00:32:39 +0800 |
commit | c4d518b5606e819916d10fc51465fac23012d595 (patch) | |
tree | 1e19985badbbfea2ce8190175cc81210f7a09ea4 /src | |
parent | b8855c1490a95bb16463b8bf83302fafdf00d869 (diff) |
Add \t to invalid_chars also.
Diffstat (limited to 'src')
-rw-r--r-- | src/callbacks.c | 7 | ||||
-rw-r--r-- | src/uzbl-core.c | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/callbacks.c b/src/callbacks.c index 1f0dd73..5c8a386 100644 --- a/src/callbacks.c +++ b/src/callbacks.c @@ -648,11 +648,11 @@ new_window_cb (WebKitWebView *web_view, WebKitWebFrame *frame, printf("New window requested -> %s \n", webkit_network_request_get_uri (request)); /* This seems to cause trouble and not to be needed anyways - * as create_web_view_cb will also be called whenever this + * as create_web_view_cb will also be called whenever this * callback is triggered thus resulting in doubled events - + send_event(NEW_WINDOW, webkit_network_request_get_uri (request), NULL); - + */ webkit_web_policy_decision_ignore(policy_decision); @@ -860,4 +860,3 @@ save_cookies_http(SoupMessage *msg, gpointer user_data) { g_slist_free(ck); } - diff --git a/src/uzbl-core.c b/src/uzbl-core.c index ab58a6a..d55ad6f 100644 --- a/src/uzbl-core.c +++ b/src/uzbl-core.c @@ -1620,7 +1620,7 @@ set_var_value(const gchar *name, gchar *val) { uzbl_cmdprop *c = NULL; char *endp = NULL; char *buf = NULL; - char *invalid_chars = "^°!\"§$%&/()=?'`'+~*'#-.:,;@<>| \\{}[]¹²³¼½"; + char *invalid_chars = "\t^°!\"§$%&/()=?'`'+~*'#-.:,;@<>| \\{}[]¹²³¼½"; GString *msg; if( (c = g_hash_table_lookup(uzbl.comm.proto_var, name)) ) { |