我上传了文件,并尝试通过删除不需要的字符来处理奇怪的文件名。但是我遇到的情况是,我只是玩弄不需要的(字符)文件名,并得到以下结果:
我的错误文件名是:1\;ping\ -c1\ 1.1.1.1
Firefox正在发送:
Content-Disposition: form-data; name="send_file"; filename="1\;ping\ -c1\ 1.1.1.1"
但是PHP的$_FILES['send_file']['name']
目的只是给我1.1.1.1
(带有空格)作为名称。
总的来说这是可以忽略的,但是我想了解这里发生了什么
这是怎么回事 请赐教
使用的软件:
我想我的SSL证书搞砸了一点.我们正在使用SSL证书为所有OpenVPN客户端(使用easy-rsa工具包生成完美).
现在我想在OpenVPN主机上为Web服务器使用相同的证书
所有密钥长4096位.
我的想法是mybe的使用目的对于apache是错误的,但我不太确定.
root@howard~# openssl x509 -in howard.example.com.crt -text -noout
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 15 (0xf)
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=AT, ST=STMK, L=Graz, O=Bee Company, OU=Root CA, CN=example.com/name=rootca/emailAddress=root@bee.example.com
Validity
Not Before: Aug 13 12:36:41 2013 GMT
Not After : Aug 11 12:36:41 2023 GMT
Subject: C=AT, ST=STMK, L=Graz, O=example.com.at, OU=changeme, CN=howard.example.com/name=howard.example.com/emailAddress=root@example.com
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
Public-Key: (4096 bit)
Modulus:
NOTHING_TO_READ_HERE :)
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment: …
Run Code Online (Sandbox Code Playgroud)