FFFTPのソースコードです。
Revisión | 5c9d7dc2e6c6da0c8e6766e6a9df39643914565b (tree) |
---|---|
Tiempo | 2016-04-23 13:18:56 |
Autor | s_kawamoto <s_kawamoto@user...> |
Commiter | s_kawamoto |
Fix bugs of handling of non UTF-8 encoding.
Update PEM file.
@@ -242,7 +242,7 @@ FONT 9, "MS Shell Dlg", 0, 0, 0x0 | ||
242 | 242 | BEGIN |
243 | 243 | DEFPUSHBUTTON "OK",IDOK,133,294,50,14 |
244 | 244 | ICON ffftp,-1,7,4,20,20 |
245 | - CTEXT "FFFTP Ver 1.99",-1,113,11,90,8 | |
245 | + CTEXT "FFFTP Ver 1.99-20160423",-1,113,11,90,8 | |
246 | 246 | CTEXT "FFFTPはfreewareです",-1,7,279,305,8 |
247 | 247 | CTEXT "Copyright(C) 1997-2010 Sota & ご協力いただいた方々\nCopyright (C) 2011-2016 FFFTP Project (Hiromichi Matsushima, Suguru Kawamoto, IWAMOTO Kouichi, vitamin0x, うなー, Asami, fortran90, tomo1192, Yuji Tanaka, Moriguchi Hirokazu, ふうせん)",-1,7,25,305,44,SS_NOPREFIX |
248 | 248 | CTEXT "",ABOUT_JRE,7,96,305,8 |
@@ -242,7 +242,7 @@ FONT 9, "MS Shell Dlg", 0, 0, 0x0 | ||
242 | 242 | BEGIN |
243 | 243 | DEFPUSHBUTTON "OK",IDOK,132,296,50,14 |
244 | 244 | ICON ffftp,-1,7,4,20,20 |
245 | - CTEXT "FFFTP Ver 1.99",-1,110,11,90,8 | |
245 | + CTEXT "FFFTP Ver 1.99-20160423",-1,110,11,90,8 | |
246 | 246 | CTEXT "FFFTP is freeware",-1,7,281,301,8 |
247 | 247 | CTEXT "Copyright(C) 1997-2010 Sota && cooperators\nCopyright (C) 2011-2016 FFFTP Project (Hiromichi Matsushima, Suguru Kawamoto, IWAMOTO Kouichi, vitamin0x, unarist, Asami, fortran90, tomo1192, Yuji Tanaka, Moriguchi Hirokazu, Fu-sen)",-1,7,25,301,44 |
248 | 248 | CTEXT "",ABOUT_JRE,7,93,301,8 |
@@ -72,16 +72,16 @@ | ||
72 | 72 | //#define PROGRAM_VERSION_NUM 1972 /* バージョン */ |
73 | 73 | // 64ビット対応 |
74 | 74 | #ifdef _WIN64 |
75 | -#define VER_STR "1.99 64bit" | |
75 | +#define VER_STR "1.99-20160423 64bit" | |
76 | 76 | #else |
77 | -#define VER_STR "1.99" | |
77 | +#define VER_STR "1.99-20160423" | |
78 | 78 | #endif |
79 | 79 | #define VER_NUM 1990 /* 設定バージョン */ |
80 | 80 | #define PROGRAM_VERSION_NUM 1990 /* バージョン */ |
81 | 81 | // ソフトウェア自動更新 |
82 | 82 | // リリースバージョンはリリース予定年(10進数4桁)+月(2桁)+日(2桁)+通し番号(0スタート2桁)とする |
83 | 83 | // 2014年7月31日中の30個目のリリースは2014073129 |
84 | -#define RELEASE_VERSION_NUM 2016032600 /* リリースバージョン */ | |
84 | +#define RELEASE_VERSION_NUM 2016042300 /* リリースバージョン */ | |
85 | 85 | |
86 | 86 | |
87 | 87 | // SourceForge.JPによるフォーク |
@@ -1,7 +1,7 @@ | ||
1 | 1 | ## |
2 | 2 | ## Bundle of CA Root Certificates |
3 | 3 | ## |
4 | -## Certificate data from Mozilla as of: Wed Jan 20 04:12:04 2016 | |
4 | +## Certificate data from Mozilla as of: Wed Apr 20 03:12:05 2016 | |
5 | 5 | ## |
6 | 6 | ## This is a bundle of X.509 certificates of public Certificate Authorities |
7 | 7 | ## (CA). These were automatically extracted from Mozilla's root certificates |
@@ -14,7 +14,7 @@ | ||
14 | 14 | ## Just configure this file as the SSLCACertificateFile. |
15 | 15 | ## |
16 | 16 | ## Conversion done with mk-ca-bundle.pl version 1.25. |
17 | -## SHA1: 0ab47e2f41518f8d223eab517cb799e5b071231e | |
17 | +## SHA1: 5df367cda83086392e1acdf22bfef00c48d5eba6 | |
18 | 18 | ## |
19 | 19 | |
20 | 20 |
@@ -629,28 +629,6 @@ EtzKO6gunRRaBXW37Ndj4ro1tgQIkejanZz2ZrUYrAqmVCY0M9IbwdR/GjqOC6oybtv8TyWf2TLH | ||
629 | 629 | llpwrN9M |
630 | 630 | -----END CERTIFICATE----- |
631 | 631 | |
632 | -Staat der Nederlanden Root CA | |
633 | -============================= | |
634 | ------BEGIN CERTIFICATE----- | |
635 | -MIIDujCCAqKgAwIBAgIEAJiWijANBgkqhkiG9w0BAQUFADBVMQswCQYDVQQGEwJOTDEeMBwGA1UE | |
636 | -ChMVU3RhYXQgZGVyIE5lZGVybGFuZGVuMSYwJAYDVQQDEx1TdGFhdCBkZXIgTmVkZXJsYW5kZW4g | |
637 | -Um9vdCBDQTAeFw0wMjEyMTcwOTIzNDlaFw0xNTEyMTYwOTE1MzhaMFUxCzAJBgNVBAYTAk5MMR4w | |
638 | -HAYDVQQKExVTdGFhdCBkZXIgTmVkZXJsYW5kZW4xJjAkBgNVBAMTHVN0YWF0IGRlciBOZWRlcmxh | |
639 | -bmRlbiBSb290IENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmNK1URF6gaYUmHFt | |
640 | -vsznExvWJw56s2oYHLZhWtVhCb/ekBPHZ+7d89rFDBKeNVU+LCeIQGv33N0iYfXCxw719tV2U02P | |
641 | -jLwYdjeFnejKScfST5gTCaI+Ioicf9byEGW07l8Y1Rfj+MX94p2i71MOhXeiD+EwR+4A5zN9RGca | |
642 | -C1Hoi6CeUJhoNFIfLm0B8mBF8jHrqTFoKbt6QZ7GGX+UtFE5A3+y3qcym7RHjm+0Sq7lr7HcsBth | |
643 | -vJly3uSJt3omXdozSVtSnA71iq3DuD3oBmrC1SoLbHuEvVYFy4ZlkuxEK7COudxwC0barbxjiDn6 | |
644 | -22r+I/q85Ej0ZytqERAhSQIDAQABo4GRMIGOMAwGA1UdEwQFMAMBAf8wTwYDVR0gBEgwRjBEBgRV | |
645 | -HSAAMDwwOgYIKwYBBQUHAgEWLmh0dHA6Ly93d3cucGtpb3ZlcmhlaWQubmwvcG9saWNpZXMvcm9v | |
646 | -dC1wb2xpY3kwDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBSofeu8Y6R0E3QA7Jbg0zTBLL9s+DAN | |
647 | -BgkqhkiG9w0BAQUFAAOCAQEABYSHVXQ2YcG70dTGFagTtJ+k/rvuFbQvBgwp8qiSpGEN/KtcCFtR | |
648 | -EytNwiphyPgJWPwtArI5fZlmgb9uXJVFIGzmeafR2Bwp/MIgJ1HI8XxdNGdphREwxgDS1/PTfLbw | |
649 | -MVcoEoJz6TMvplW0C5GUR5z6u3pCMuiufi3IvKwUv9kP2Vv8wfl6leF9fpb8cbDCTMjfRTTJzg3y | |
650 | -nGQI0DvDKcWy7ZAEwbEpkcUwb8GpcjPM/l0WFywRaed+/sWDCN+83CI6LiBpIzlWYGeQiy52OfsR | |
651 | -iJf2fL1LuCAWZwWN4jvBcj+UlTfHXbme2JOhF4//DGYVwSR8MnwDHTuhWEUykw== | |
652 | ------END CERTIFICATE----- | |
653 | - | |
654 | 632 | UTN USERFirst Hardware Root CA |
655 | 633 | ============================== |
656 | 634 | -----BEGIN CERTIFICATE----- |
@@ -731,41 +709,6 @@ IBHNfTIzSJRUTN3cecQwn+uOuFW114hcxWokPbLTBQNRxgfvzBRydD1ucs4YKIxKoHflCStFREes | ||
731 | 709 | t2d/AYoFWpO+ocH/+OcOZ6RHSXZddZAa9SaP8A== |
732 | 710 | -----END CERTIFICATE----- |
733 | 711 | |
734 | -NetLock Notary (Class A) Root | |
735 | -============================= | |
736 | ------BEGIN CERTIFICATE----- | |
737 | -MIIGfTCCBWWgAwIBAgICAQMwDQYJKoZIhvcNAQEEBQAwga8xCzAJBgNVBAYTAkhVMRAwDgYDVQQI | |
738 | -EwdIdW5nYXJ5MREwDwYDVQQHEwhCdWRhcGVzdDEnMCUGA1UEChMeTmV0TG9jayBIYWxvemF0Yml6 | |
739 | -dG9uc2FnaSBLZnQuMRowGAYDVQQLExFUYW51c2l0dmFueWtpYWRvazE2MDQGA1UEAxMtTmV0TG9j | |
740 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q5SgnK1QyQhSCdeZK8CtmdWOMovsEPoMOmzbwGOQmIMOM | |
766 | -8CgHrTwXZoi1/baI | |
767 | ------END CERTIFICATE----- | |
768 | - | |
769 | 712 | XRamp Global CA Root |
770 | 713 | ==================== |
771 | 714 | -----BEGIN CERTIFICATE----- |
@@ -1876,30 +1819,6 @@ IPVVYpbtbZNQvOSqeK3Zywplh6ZmwcSBo3c6WB4L7oOLnR7SUqTMHW+wmG2UMbX4cQrcufx9MmDm | ||
1876 | 1819 | 66+KAQ== |
1877 | 1820 | -----END CERTIFICATE----- |
1878 | 1821 | |
1879 | -CA Disig | |
1880 | -======== | |
1881 | ------BEGIN CERTIFICATE----- | |
1882 | -MIIEDzCCAvegAwIBAgIBATANBgkqhkiG9w0BAQUFADBKMQswCQYDVQQGEwJTSzETMBEGA1UEBxMK | |
1883 | -QnJhdGlzbGF2YTETMBEGA1UEChMKRGlzaWcgYS5zLjERMA8GA1UEAxMIQ0EgRGlzaWcwHhcNMDYw | |
1884 | -MzIyMDEzOTM0WhcNMTYwMzIyMDEzOTM0WjBKMQswCQYDVQQGEwJTSzETMBEGA1UEBxMKQnJhdGlz | |
1885 | -bGF2YTETMBEGA1UEChMKRGlzaWcgYS5zLjERMA8GA1UEAxMIQ0EgRGlzaWcwggEiMA0GCSqGSIb3 | |
1886 | -DQEBAQUAA4IBDwAwggEKAoIBAQCS9jHBfYj9mQGp2HvycXXxMcbzdWb6UShGhJd4NLxs/LxFWYgm | |
1887 | -GErENx+hSkS943EE9UQX4j/8SFhvXJ56CbpRNyIjZkMhsDxkovhqFQ4/61HhVKndBpnXmjxUizkD | |
1888 | -Pw/Fzsbrg3ICqB9x8y34dQjbYkzo+s7552oftms1grrijxaSfQUMbEYDXcDtab86wYqg6I7ZuUUo | |
1889 | -hwjstMoVvoLdtUSLLa2GDGhibYVW8qwUYzrG0ZmsNHhWS8+2rT+MitcE5eN4TPWGqvWP+j1scaMt | |
1890 | -ymfraHtuM6kMgiioTGohQBUgDCZbg8KpFhXAJIJdKxatymP2dACw30PEEGBWZ2NFAgMBAAGjgf8w | |
1891 | -gfwwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUjbJJaJ1yCCW5wCf1UJNWSEZx+Y8wDgYDVR0P | |
1892 | -AQH/BAQDAgEGMDYGA1UdEQQvMC2BE2Nhb3BlcmF0b3JAZGlzaWcuc2uGFmh0dHA6Ly93d3cuZGlz | |
1893 | -aWcuc2svY2EwZgYDVR0fBF8wXTAtoCugKYYnaHR0cDovL3d3dy5kaXNpZy5zay9jYS9jcmwvY2Ff | |
1894 | -ZGlzaWcuY3JsMCygKqAohiZodHRwOi8vY2EuZGlzaWcuc2svY2EvY3JsL2NhX2Rpc2lnLmNybDAa | |
1895 | -BgNVHSAEEzARMA8GDSuBHpGT5goAAAABAQEwDQYJKoZIhvcNAQEFBQADggEBAF00dGFMrzvY/59t | |
1896 | -WDYcPQuBDRIrRhCA/ec8J9B6yKm2fnQwM6M6int0wHl5QpNt/7EpFIKrIYwvF/k/Ji/1WcbvgAa3 | |
1897 | -mkkp7M5+cTxqEEHA9tOasnxakZzArFvITV734VP/Q3f8nktnbNfzg9Gg4H8l37iYC5oyOGwwoPP/ | |
1898 | -CBUz91BKez6jPiCp3C9WgArtQVCwyfTssuMmRAAOb54GvCKWU3BlxFAKRmukLyeBEicTXxChds6K | |
1899 | -ezfqwzlhA5WYOudsiCUI/HloDYd9Yvi0X/vF2Ey9WLw/Q1vUHgFNPGO+I++MzVpQuGhU+QqZMxEA | |
1900 | -4Z7CRneC9VkGjCFMhwnN5ag= | |
1901 | ------END CERTIFICATE----- | |
1902 | - | |
1903 | 1822 | Juur-SK |
1904 | 1823 | ======= |
1905 | 1824 | -----BEGIN CERTIFICATE----- |
@@ -3891,3 +3810,56 @@ MluARZPzA7gwCgYIKoZIzj0EAwMDaAAwZQIxAOSkhLCB1T2wdKyUpOgOPQB0TKGXa/kNUTyh2Tv0 | ||
3891 | 3810 | Daupn75OcsqF1NnstTJFGG+rrQIwfcf3aWMvoeGY7xMQ0Xk/0f7qO3/eVvSQsRUR2LIiFdAvwyYu |
3892 | 3811 | a/GRspBl9JrmkO5K |
3893 | 3812 | -----END CERTIFICATE----- |
3813 | + | |
3814 | +SZAFIR ROOT CA2 | |
3815 | +=============== | |
3816 | +-----BEGIN CERTIFICATE----- | |
3817 | +MIIDcjCCAlqgAwIBAgIUPopdB+xV0jLVt+O2XwHrLdzk1uQwDQYJKoZIhvcNAQELBQAwUTELMAkG | |
3818 | +A1UEBhMCUEwxKDAmBgNVBAoMH0tyYWpvd2EgSXpiYSBSb3psaWN6ZW5pb3dhIFMuQS4xGDAWBgNV | |
3819 | +BAMMD1NaQUZJUiBST09UIENBMjAeFw0xNTEwMTkwNzQzMzBaFw0zNTEwMTkwNzQzMzBaMFExCzAJ | |
3820 | +BgNVBAYTAlBMMSgwJgYDVQQKDB9LcmFqb3dhIEl6YmEgUm96bGljemVuaW93YSBTLkEuMRgwFgYD | |
3821 | +VQQDDA9TWkFGSVIgUk9PVCBDQTIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC3vD5Q | |
3822 | +qEvNQLXOYeeWyrSh2gwisPq1e3YAd4wLz32ohswmUeQgPYUM1ljj5/QqGJ3a0a4m7utT3PSQ1hNK | |
3823 | +DJA8w/Ta0o4NkjrcsbH/ON7Dui1fgLkCvUqdGw+0w8LBZwPd3BucPbOw3gAeqDRHu5rr/gsUvTaE | |
3824 | +2g0gv/pby6kWIK05YO4vdbbnl5z5Pv1+TW9NL++IDWr63fE9biCloBK0TXC5ztdyO4mTp4CEHCdJ | |
3825 | +ckm1/zuVnsHMyAHs6A6KCpbns6aH5db5BSsNl0BwPLqsdVqc1U2dAgrSS5tmS0YHF2Wtn2yIANwi | |
3826 | +ieDhZNRnvDF5YTy7ykHNXGoAyDw4jlivAgMBAAGjQjBAMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0P | |
3827 | +AQH/BAQDAgEGMB0GA1UdDgQWBBQuFqlKGLXLzPVvUPMjX/hd56zwyDANBgkqhkiG9w0BAQsFAAOC | |
3828 | +AQEAtXP4A9xZWx126aMqe5Aosk3AM0+qmrHUuOQn/6mWmc5G4G18TKI4pAZw8PRBEew/R40/cof5 | |
3829 | +O/2kbytTAOD/OblqBw7rHRz2onKQy4I9EYKL0rufKq8h5mOGnXkZ7/e7DDWQw4rtTw/1zBLZpD67 | |
3830 | +oPwglV9PJi8RI4NOdQcPv5vRtB3pEAT+ymCPoky4rc/hkA/NrgrHXXu3UNLUYfrVFdvXn4dRVOul | |
3831 | +4+vJhaAlIDf7js4MNIThPIGyd05DpYhfhmehPea0XGG2Ptv+tyjFogeutcrKjSoS75ftwjCkySp6 | |
3832 | ++/NNIxuZMzSgLvWpCz/UXeHPhJ/iGcJfitYgHuNztw== | |
3833 | +-----END CERTIFICATE----- | |
3834 | + | |
3835 | +Certum Trusted Network CA 2 | |
3836 | +=========================== | |
3837 | +-----BEGIN CERTIFICATE----- | |
3838 | +MIIF0jCCA7qgAwIBAgIQIdbQSk8lD8kyN/yqXhKN6TANBgkqhkiG9w0BAQ0FADCBgDELMAkGA1UE | |
3839 | +BhMCUEwxIjAgBgNVBAoTGVVuaXpldG8gVGVjaG5vbG9naWVzIFMuQS4xJzAlBgNVBAsTHkNlcnR1 | |
3840 | +bSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEkMCIGA1UEAxMbQ2VydHVtIFRydXN0ZWQgTmV0d29y | |
3841 | +ayBDQSAyMCIYDzIwMTExMDA2MDgzOTU2WhgPMjA0NjEwMDYwODM5NTZaMIGAMQswCQYDVQQGEwJQ | |
3842 | +TDEiMCAGA1UEChMZVW5pemV0byBUZWNobm9sb2dpZXMgUy5BLjEnMCUGA1UECxMeQ2VydHVtIENl | |
3843 | +cnRpZmljYXRpb24gQXV0aG9yaXR5MSQwIgYDVQQDExtDZXJ0dW0gVHJ1c3RlZCBOZXR3b3JrIENB | |
3844 | +IDIwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC9+Xj45tWADGSdhhuWZGc/IjoedQF9 | |
3845 | +7/tcZ4zJzFxrqZHmuULlIEub2pt7uZld2ZuAS9eEQCsn0+i6MLs+CRqnSZXvK0AkwpfHp+6bJe+o | |
3846 | +CgCXhVqqndwpyeI1B+twTUrWwbNWuKFBOJvR+zF/j+Bf4bE/D44WSWDXBo0Y+aomEKsq09DRZ40b | |
3847 | +Rr5HMNUuctHFY9rnY3lEfktjJImGLjQ/KUxSiyqnwOKRKIm5wFv5HdnnJ63/mgKXwcZQkpsCLL2p | |
3848 | +uTRZCr+ESv/f/rOf69me4Jgj7KZrdxYq28ytOxykh9xGc14ZYmhFV+SQgkK7QtbwYeDBoz1mo130 | |
3849 | +GO6IyY0XRSmZMnUCMe4pJshrAua1YkV/NxVaI2iJ1D7eTiew8EAMvE0Xy02isx7QBlrd9pPPV3WZ | |
3850 | +9fqGGmd4s7+W/jTcvedSVuWz5XV710GRBdxdaeOVDUO5/IOWOZV7bIBaTxNyxtd9KXpEulKkKtVB | |
3851 | +Rgkg/iKgtlswjbyJDNXXcPiHUv3a76xRLgezTv7QCdpw75j6VuZt27VXS9zlLCUVyJ4ueE742pye | |
3852 | +hizKV/Ma5ciSixqClnrDvFASadgOWkaLOusm+iPJtrCBvkIApPjW/jAux9JG9uWOdf3yzLnQh1vM | |
3853 | +BhBgu4M1t15n3kfsmUjxpKEV/q2MYo45VU85FrmxY53/twIDAQABo0IwQDAPBgNVHRMBAf8EBTAD | |
3854 | +AQH/MB0GA1UdDgQWBBS2oVQ5AsOgP46KvPrU+Bym0ToO/TAOBgNVHQ8BAf8EBAMCAQYwDQYJKoZI | |
3855 | +hvcNAQENBQADggIBAHGlDs7k6b8/ONWJWsQCYftMxRQXLYtPU2sQF/xlhMcQSZDe28cmk4gmb3DW | |
3856 | +Al45oPePq5a1pRNcgRRtDoGCERuKTsZPpd1iHkTfCVn0W3cLN+mLIMb4Ck4uWBzrM9DPhmDJ2vuA | |
3857 | +L55MYIR4PSFk1vtBHxgP58l1cb29XN40hz5BsA72udY/CROWFC/emh1auVbONTqwX3BNXuMp8SMo | |
3858 | +clm2q8KMZiYcdywmdjWLKKdpoPk79SPdhRB0yZADVpHnr7pH1BKXESLjokmUbOe3lEu6LaTaM4tM | |
3859 | +pkT/WjzGHWTYtTHkpjx6qFcL2+1hGsvxznN3Y6SHb0xRONbkX8eftoEq5IVIeVheO/jbAoJnwTnb | |
3860 | +w3RLPTYe+SmTiGhbqEQZIfCn6IENLOiTNrQ3ssqwGyZ6miUfmpqAnksqP/ujmv5zMnHCnsZy4Ypo | |
3861 | +J/HkD7TETKVhk/iXEAcqMCWpuchxuO9ozC1+9eB+D4Kob7a6bINDd82Kkhehnlt4Fj1F4jNy3eFm | |
3862 | +ypnTycUm/Q1oBEauttmbjL4ZvrHG8hnjXALKLNhvSgfZyTXaQHXyxKcZb55CEJh15pWLYLztxRLX | |
3863 | +is7VmFxWlgPF7ncGNf/P5O4/E2Hu29othfDNrp2yGAlFw5Khchf8R7agCyzxxN5DaAhqXzvwdmP7 | |
3864 | +zAYspsbiDrW5viSP | |
3865 | +-----END CERTIFICATE----- |
@@ -97,7 +97,9 @@ static void DispListList(FILELIST *Pos, char *Title); | ||
97 | 97 | static int MakeRemoteTree1(char *Path, char *Cur, FILELIST **Base, int *CancelCheckWork); |
98 | 98 | static int MakeRemoteTree2(char *Path, char *Cur, FILELIST **Base, int *CancelCheckWork); |
99 | 99 | static void CopyTmpListToFileList(FILELIST **Base, FILELIST *List); |
100 | -static int GetListOneLine(char *Buf, int Max, FILE *Fd); | |
100 | +// 文字化け対策 | |
101 | +//static int GetListOneLine(char *Buf, int Max, FILE *Fd); | |
102 | +static int GetListOneLine(char *Buf, int Max, FILE *Fd, int Convert); | |
101 | 103 | static int MakeDirPath(char *Str, int ListType, char *Path, char *Dir); |
102 | 104 | // ファイル一覧バグ修正 |
103 | 105 | //static void MakeLocalTree(char *Path, FILELIST **Base); |
@@ -1329,7 +1331,9 @@ void GetRemoteDirForWnd(int Mode, int *CancelCheckWork) | ||
1329 | 1331 | { |
1330 | 1332 | ListType = LIST_UNKNOWN; |
1331 | 1333 | |
1332 | - while(GetListOneLine(Str, FMAX_PATH, fd) == FFFTP_SUCCESS) | |
1334 | + // 文字化け対策 | |
1335 | +// while(GetListOneLine(Str, FMAX_PATH, fd) == FFFTP_SUCCESS) | |
1336 | + while(GetListOneLine(Str, FMAX_PATH, fd, YES) == FFFTP_SUCCESS) | |
1333 | 1337 | { |
1334 | 1338 | if((ListType = AnalyzeFileInfo(Str)) != LIST_UNKNOWN) |
1335 | 1339 | { |
@@ -3273,7 +3277,9 @@ void AddRemoteTreeToFileList(int Num, char *Path, int IncDir, FILELIST **Base) | ||
3273 | 3277 | |
3274 | 3278 | ListType = LIST_UNKNOWN; |
3275 | 3279 | |
3276 | - while(GetListOneLine(Str, FMAX_PATH, fd) == FFFTP_SUCCESS) | |
3280 | + // 文字化け対策 | |
3281 | +// while(GetListOneLine(Str, FMAX_PATH, fd) == FFFTP_SUCCESS) | |
3282 | + while(GetListOneLine(Str, FMAX_PATH, fd, YES) == FFFTP_SUCCESS) | |
3277 | 3283 | { |
3278 | 3284 | if((ListType = AnalyzeFileInfo(Str)) == LIST_UNKNOWN) |
3279 | 3285 | { |
@@ -3341,7 +3347,9 @@ void AddRemoteTreeToFileList(int Num, char *Path, int IncDir, FILELIST **Base) | ||
3341 | 3347 | * Vax VMSの時は、複数行のファイル情報を1行にまとめる |
3342 | 3348 | *----------------------------------------------------------------------------*/ |
3343 | 3349 | |
3344 | -static int GetListOneLine(char *Buf, int Max, FILE *Fd) | |
3350 | +// 文字化け対策 | |
3351 | +//static int GetListOneLine(char *Buf, int Max, FILE *Fd) | |
3352 | +static int GetListOneLine(char *Buf, int Max, FILE *Fd, int Convert) | |
3345 | 3353 | { |
3346 | 3354 | char Tmp[FMAX_PATH+1]; |
3347 | 3355 | int Sts; |
@@ -3350,6 +3358,9 @@ static int GetListOneLine(char *Buf, int Max, FILE *Fd) | ||
3350 | 3358 | while((Sts == FFFTP_FAIL) && (fgets(Buf, Max, Fd) != NULL)) |
3351 | 3359 | { |
3352 | 3360 | Sts = FFFTP_SUCCESS; |
3361 | + // 文字化け対策 | |
3362 | + if(Convert == YES) | |
3363 | + ChangeFnameRemote2Local(Buf, Max); | |
3353 | 3364 | RemoveReturnCode(Buf); |
3354 | 3365 | ReplaceAll(Buf, '\x08', ' '); |
3355 | 3366 |
@@ -3428,7 +3439,8 @@ static int MakeDirPath(char *Str, int ListType, char *Path, char *Dir) | ||
3428 | 3439 | strcat(Dir, Str); |
3429 | 3440 | *(Dir + strlen(Dir) - 1) = NUL; |
3430 | 3441 | |
3431 | - ChangeFnameRemote2Local(Dir, FMAX_PATH); | |
3442 | + // 文字化け対策 | |
3443 | +// ChangeFnameRemote2Local(Dir, FMAX_PATH); | |
3432 | 3444 | |
3433 | 3445 | ReplaceAll(Dir, '\\', '/'); |
3434 | 3446 | } |
@@ -5674,7 +5686,6 @@ static int ResolveFileInfo(char *Str, int ListType, char *Fname, LONGLONG *Size, | ||
5674 | 5686 | // Ret = NODE_NONE; |
5675 | 5687 | // else |
5676 | 5688 | // ChangeFnameRemote2Local(Fname, FMAX_PATH); |
5677 | - ChangeFnameRemote2Local(Fname, FMAX_PATH); | |
5678 | 5689 | // UTF-8の冗長表現によるディレクトリトラバーサル対策 |
5679 | 5690 | FixStringM(Fname, Fname); |
5680 | 5691 | // 0x5Cが含まれる文字列を扱えないバグ修正 |
@@ -6276,7 +6287,7 @@ int AnalyzeNameKanjiCode(int Num) | ||
6276 | 6287 | MakeCacheFileName(Num, Str); |
6277 | 6288 | if((fd = fopen(Str, "rb")) != NULL) |
6278 | 6289 | { |
6279 | - while(GetListOneLine(Str, FMAX_PATH, fd) == FFFTP_SUCCESS) | |
6290 | + while(GetListOneLine(Str, FMAX_PATH, fd, NO) == FFFTP_SUCCESS) | |
6280 | 6291 | { |
6281 | 6292 | if((ListType = AnalyzeFileInfo(Str)) != LIST_UNKNOWN) |
6282 | 6293 | { |
@@ -3587,7 +3587,7 @@ BOOL LoadSSLRootCAFile() | ||
3587 | 3587 | for(i = 0; i < 5; i++) |
3588 | 3588 | Hash[i] = _byteswap_ulong(Hash[i]); |
3589 | 3589 | // 同梱する"ssl.pem"に合わせてSHA1ハッシュ値を変更すること |
3590 | - if(memcmp(&Hash, &SSLRootCAFileHash, 20) == 0 || memcmp(&Hash, "\x18\x37\x7B\x10\xA9\x01\xDA\x25\x14\x4C\xD4\xD5\x35\xAE\x4D\x65\x3D\x46\x92\xA2", 20) == 0 | |
3590 | + if(memcmp(&Hash, &SSLRootCAFileHash, 20) == 0 || memcmp(&Hash, "\x7E\x0D\x21\xE1\x07\x18\x1B\x8F\x59\x31\x89\x74\x27\xCC\xFD\xB3\xC6\xED\xD9\x74", 20) == 0 | |
3591 | 3591 | || DialogBox(GetFtpInst(), MAKEINTRESOURCE(updatesslroot_dlg), GetMainHwnd(), ExeEscDialogProc) == YES) |
3592 | 3592 | { |
3593 | 3593 | memcpy(&SSLRootCAFileHash, &Hash, 20); |