Permalink
Browse files

Add \t to invalid_chars also.

  • Loading branch information...
1 parent b8855c1 commit c4d518b5606e819916d10fc51465fac23012d595 @mason-larobina mason-larobina committed Mar 22, 2010
Showing with 4 additions and 5 deletions.
  1. +3 −4 src/callbacks.c
  2. +1 −1 src/uzbl-core.c
View
@@ -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);
}
-
View
@@ -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)) ) {

0 comments on commit c4d518b

Please sign in to comment.