Changed some FTP tests to validate the format of the PORT and EPRT commands
sent by curl, if not the addresses themselves.
This commit is contained in:
@@ -32,10 +32,10 @@ ftp://%HOSTIP:%FTPPORT/119 -P -
|
||||
<errorcode>
|
||||
19
|
||||
</errorcode>
|
||||
# Strip all valid kinds of PORT and EPRT that curl can send
|
||||
<strip>
|
||||
^PORT.*
|
||||
^EPRT .*
|
||||
^LPRT .*
|
||||
^PORT \d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3}
|
||||
^EPRT \|1\|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\|\d{1,5}\|
|
||||
</strip>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
|
||||
Reference in New Issue
Block a user