diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-09-24 17:06:04 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-09-24 17:06:04 +0000 |
commit | 29e57b1c5cf0a87e5643a3da988201adb23714e4 (patch) | |
tree | e820e89b4ad0e7db726fbba2cb3dcfdb82ca9c28 /url.c | |
parent | [w3m-dev 03318] Re: Passwords (diff) | |
download | w3m-29e57b1c5cf0a87e5643a3da988201adb23714e4.tar.gz w3m-29e57b1c5cf0a87e5643a3da988201adb23714e4.zip |
[w3m-dev 03319] mailto
* main.c (followA): mailto
* main.c (cmd_loadURL): mailto
* url.c (_parsedURL2Str): mailto: query
From: AIDA Shinra <aida-s@jcom.home.ne.jp>
Diffstat (limited to '')
-rw-r--r-- | url.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: url.c,v 1.49 2002/09/24 16:35:02 ukai Exp $ */ +/* $Id: url.c,v 1.50 2002/09/24 17:06:05 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include <sys/socket.h> @@ -1114,6 +1114,10 @@ _parsedURL2Str(ParsedURL *pu, int pass) #ifndef USE_W3MMAILER if (pu->scheme == SCM_MAILTO) { Strcat_charp(tmp, pu->file); + if (pu->query) { + Strcat_char(tmp, '?'); + Strcat_charp(tmp, pu->query); + } return tmp; } #endif |