これを怠ると、サーバーは受け取ったデータを正しく解釈できず、400 Bad Requestなどを返してきます。 標準ライブラリ「urllib.parse」で解決 Pythonには、この複雑なエンコード処理を簡単に行うための標準ライブラリ urllib.parse が用意されています。
Both Java and Python contain similar security flaws that allow an attacker to bypass firewalls by injecting malicious commands inside FTP URLs. The problems arise from the way Java and Python (through ...