[w3m-dev 03616] Re: data: URL scheme
* file.c (loadGeneralFile): check SCM_DATA (loadImageBuffer): newBuffer() * html.h (SCM_DATA): added * indep.c (url_unquote): deleted (Str_url_unquote): renamed from Str_form_unquote + is decoded is_form only * indep.h (url_unquote): deleted (Str_url_unquote): added (Str_form_unquote): define by Str_url_unquote * main.c (followA): file_unquote (cmd_loadURL): file_unquote * url.c (DefaultPort): add for data: (schemetable): add "data" (DefaultFile): SCM_FTPDIR (parseURL): scheme copied from current (parseURL2): SCM_DATA check SCM_FTP, SCM_FTPDIR (_parsedURL2Str): add data in scheme_str handle SCM_DATA SCM_FTPDIR (openURL): file_unquote handle SCM_DATA From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
		
							
								
								
									
										7
									
								
								html.h
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								html.h
									
									
									
									
									
								
							@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: html.h,v 1.18 2003/01/06 15:36:59 ukai Exp $ */
 | 
			
		||||
/* $Id: html.h,v 1.19 2003/01/08 17:24:12 ukai Exp $ */
 | 
			
		||||
#ifndef _HTML_H
 | 
			
		||||
#define _HTML_H
 | 
			
		||||
#ifdef USE_SSL
 | 
			
		||||
@@ -364,9 +364,10 @@ struct environment {
 | 
			
		||||
#define SCM_NNTP_GROUP	8
 | 
			
		||||
#define SCM_NEWS	9
 | 
			
		||||
#define SCM_NEWS_GROUP	10
 | 
			
		||||
#define SCM_MAILTO      11
 | 
			
		||||
#define SCM_DATA	11
 | 
			
		||||
#define SCM_MAILTO      12
 | 
			
		||||
#ifdef USE_SSL
 | 
			
		||||
#define SCM_HTTPS       12
 | 
			
		||||
#define SCM_HTTPS       13
 | 
			
		||||
#endif				/* USE_SSL */
 | 
			
		||||
 | 
			
		||||
#endif				/* _HTML_H */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user