1999-11-01 00:41:02 +00:00
|
|
|
|
--- pine/osdep/expnfldr.orig Tue Dec 12 05:10:01 1995
|
|
|
|
|
+++ pine/osdep/expnfldr Thu Oct 14 10:53:45 1999
|
1998-10-10 04:29:27 +00:00
|
|
|
|
@@ -32,13 +32,13 @@
|
|
|
|
|
} else if(ps_global->restricted
|
|
|
|
|
&& (strindex("./~", temp_filename[0]) != NULL
|
|
|
|
|
|| srchstr(temp_filename,"/../"))){
|
|
|
|
|
- q_status_message(SM_ORDER, 0, 3, "Can only open local folders");
|
|
|
|
|
+ q_status_message(SM_ORDER, 0, 3, "<22>ȯ<EFBFBD><C8AF>}<7D>ҥ<EFBFBD><D2A5>a<EFBFBD><61><EFBFBD>ɮקX");
|
|
|
|
|
return(0);
|
|
|
|
|
} else if(temp_filename[0] == '*') {
|
|
|
|
|
strcpy(filename, temp_filename);
|
|
|
|
|
} else if(ps_global->VAR_OPER_DIR && srchstr(temp_filename,"..")){
|
|
|
|
|
q_status_message(SM_ORDER, 0, 3,
|
|
|
|
|
- "\"..\" not allowed in folder name");
|
|
|
|
|
+ "<22>ɮקX<D7A7>W<EFBFBD>٤<EFBFBD><D9A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\\<5C><> \"..\"");
|
|
|
|
|
return(0);
|
|
|
|
|
} else if (temp_filename[0] == '~'){
|
|
|
|
|
if(fnexpand(temp_filename, sizeof(temp_filename)) == NULL) {
|
|
|
|
|
@@ -46,7 +46,7 @@
|
|
|
|
|
if(p != NULL)
|
|
|
|
|
*p = '\0';
|
|
|
|
|
q_status_message1(SM_ORDER, 3, 3,
|
|
|
|
|
- "Error expanding folder name: \"%s\" unknown user",
|
|
|
|
|
+ "<22>ɮקX<D7A7>i<EFBFBD>}<7D><><EFBFBD>~<7E>G\"%s\" <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϥΪ<CFA5>",
|
|
|
|
|
temp_filename);
|
|
|
|
|
return(0);
|
|
|
|
|
}
|