diff options
author | tenox <as@tenoware.com> | 2016-08-27 01:51:50 -0700 |
---|---|---|
committer | tenox <as@tenoware.com> | 2016-08-27 01:51:50 -0700 |
commit | 0284f7cc574b34a78da1151254225c0f6bdb6834 (patch) | |
tree | 5b2e12bb9ab1e8f4541d1fcc505c69e152543642 /dialogs.c | |
parent | b234251a4d6b05ea4e951553071702715b7e6747 (diff) | |
download | wfm-0284f7cc574b34a78da1151254225c0f6bdb6834.tar.gz |
URL encoding to allow some non-portable characters in file names1.1.0
Diffstat (limited to 'dialogs.c')
-rw-r--r-- | dialogs.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -246,6 +246,7 @@ void about(void) { "Server Side RFC 1321 implementation by L. Peter Deutsch<BR>\n" "Client Side RFC 1321 implementation by Paul Johnston<BR>\n" "Icons by Yusuke Kamiyamane<BR>\n" + "URL Encoding routines by Fred Bulback<BR>\n" "Copyright © 1994-2016 by Antoni Sawicki<BR>\n" "Copyright © 1996-2011 by Thomas Boutell and Boutell.Com, Inc.<BR>\n" "Copyright © 2002 by Aladdin Enterprises<BR>\n" @@ -318,7 +319,7 @@ void login_ui(void) { if(js>=2) fprintf(cgiOut, "onClick=\"self.location='%s?directory=%s&login=client&token=' + hex_md5('%s:' + document.wfm.username.value + ':' + document.wfm.password.value); return false;\"", - cgiScriptName, virt_dirname, cgiRemoteAddr); + cgiScriptName, virt_dirname_urlencoded, cgiRemoteAddr); fputs( ">\n" |