[w3m-dev 02877] some fixes for urimethodmap
* config.h.dist (RC_DIR): remove tailing / * configure (mailer): if use_w3mmailer = y, don't ask mailer * configure (RC_DIR): remove tailing / * fm.h (Mailer): ifndef USE_W3MMAILER * main.c (MAIN): ifndef USE_W3MMAILER getenv("MAILER") * rc.c ("mailer"): ifndef USE_W3MMAILER * regex.c (newRegex0): \ escape kanji chars * url.c (searchURIMethods): need escape for - * scripts/w3mmail.cgi.in: move $url, $qurl * scripts/w3mmail.cgi.in: url_unquote $to From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
4
url.c
4
url.c
@@ -1,4 +1,4 @@
|
||||
/* $Id: url.c,v 1.35 2002/01/17 11:06:45 ukai Exp $ */
|
||||
/* $Id: url.c,v 1.36 2002/01/21 15:56:13 ukai Exp $ */
|
||||
#include "fm.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
@@ -2081,7 +2081,7 @@ searchURIMethods(ParsedURL *pu)
|
||||
* escaped = "%" hex hex
|
||||
*/
|
||||
|
||||
#define URI_PATTERN "[-;/?:@&=+$,a-zA-Z0-9_.!~*'()%]*"
|
||||
#define URI_PATTERN "[\\-;/?:@&=+$,a-zA-Z0-9_.!~*'()%]*"
|
||||
void
|
||||
chkExternalURIBuffer(Buffer *buf)
|
||||
{
|
||||
|
Reference in New Issue
Block a user