aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2013-09-22ftpserver.pl: Expanded the SMTP RCPT handler to validate TO addressesSteve Holme
RCPT_smtp() will now check for a correctly formatted TO address which allows for invalid recipient addresses to be added.
2013-09-22ftpserver.pl: Added cURL SMTP server detection to HELO command handlerSteve Holme
As curl will send a HELO command after an negative EHLO response, added the same detection from commit b07709f7417c3e to the HELO handler to ensure the test server is identified correctly and an upload isn't performed.
2013-09-22ftpserver.pl: Corrected response code for successful RCPT commandSteve Holme
2013-09-22ftpserver.pl: Moved invalid RCPT TO: address detection to RCPT handlerSteve Holme
Rather than detecting the TO address as missing in the DATA handler, moved the detection to the RCPT command handler where an error response can be generated.
2013-09-21ftpserver.pl: Moved cURL SMTP server detection into EHLO command handlerSteve Holme
Moved the special SMTP server detection code from the DATA command handler, which happens further down the operation chain after EHLO, MAIL and RCPT commands, to the EHLO command as it is the first command to be generated by a SMTP operation as well as containing the special "verifiedserver" string from the URL. This not only makes it easier and quicker to detect but also means that cURL doesn't need to specify "verifiedserver" as --mail-from and --mail-rcpt arguments. More importantly, this also makes the upcoming verification changes to the RCPT handler easier to implement.
2013-09-21test1415: adjusted to work for 32bit time_tDaniel Stenberg
The libcurl date parser returns INT_MAX for all dates > 2037 so this test is now made to use 2037 instead of 2038 to work the same for both 32bit and 64bit time_t systems.
2013-09-21tests: Reworked existing SMTP tests to be single recipient basedSteve Holme
...in preparation of upcoming multiple recipient tests.
2013-09-20ftpserver.pl: Corrected SMTP QUIT response to be more realisticSteve Holme
2013-09-20ftpserver.pl: Moved SMTP RCPT response text into command handlerSteve Holme
2013-09-20tests: Added SMTP invalid --mail-from testSteve Holme
2013-09-19tests: Updated SMTP AUTH tests to use the new AUTH directiveSteve Holme
...rather than specify a customised EHLO response.
2013-09-19tests: Corrected test913 as the QUIT response is receivedSteve Holme
2013-09-19tests: Added SMTP large message SIZE testSteve Holme
2013-09-19ftpserver.pl: Updated email regex from commit 98f7ca7e971006Steve Holme
...to not be as strict as it was rejecting valid numeric email addresses.
2013-09-19tests: Fixed smtp mail from addressesSteve Holme
2013-09-18ftpserver.pl: Standardised CAPA and AUTH responsesSteve Holme
2013-09-18ftpserver.pl: Corrected POP3 QUIT reply to be more realisticSteve Holme
2013-09-18runtests.pl: Fixed syntax error in commit c873375123343eSteve Holme
Possible unintended interpolation in string at line 796
2013-09-18runtests.pl: Fixed smtp mail from addressSteve Holme
Following changes to ftpserver.pl fixed the mail from address to be a correctly formatted address otherwise the server response will be 501 Invalid address.
2013-09-18ftpserver.pl: Fixed syntax error in commit 98f7ca7e971006Steve Holme
Can't modify constant item in scalar assignment line 779, near "0;"
2013-09-18ftpserver.pl: Expanded the SMTP MAIL handler to validate messagesSteve Holme
MAIl_smtp() will now check for a correctly formatted FROM address as well as the optional SIZE parameter comparing it against the server capability when specified.
2013-09-17cookies: add expirationYAMADA Yasuharu
Implement: Expired Cookies These following situation, curl removes cookie(s) from struct CookieInfo if the cookie expired. - Curl_cookie_add() - Curl_cookie_getlist() - cookie_output()
2013-09-17ftpserver.pl: Corrected response code for successful MAIL commandSteve Holme
2013-09-17ftpserver.pl: Moved SMTP MAIL handler into own functionSteve Holme
2013-09-16tests: Fixed test 1406 following recent changes in ftpserver.plSteve Holme
By default the mail server doesn't send the SIZE capability but instead it has to be specified as a supported capability.
2013-09-16tests: Added test for SMTP SIZE capabilitySteve Holme
2013-09-15ftpserver.pl: Added the ability to include spaces in capabilitiesSteve Holme
For example: CAPA "SIZE 1048576" 8BITMIME BINARYMIME will populate the capabilities list with the following in: SIZE 1048576 8BITMIME BINARYMIME
2013-09-15ftpserver.pl: Corrected response code for successful SMTP QUIT commandSteve Holme
2013-09-15ftpserver.pl: Fixed syntax error in commit 33c1f2876b9029Steve Holme
Can't modify constant item in postincrement line 727, near "i++"
2013-09-15ftpserver.pl: Added CAPA & AUTH directive support to the SMTP EHLO handlerSteve Holme
2013-09-15ftpserver.pl: Fixed SMTP QUIT handler from dadc495540946eSteve Holme
2013-09-15ftpserver.pl: Moved SMTP EHLO and QUIT handlers in own functionsSteve Holme
2013-09-15ftpserver.pl: Added support for SMTP HELO commandSteve Holme
...and updated test902 as explicit HELO response is no longer required.
2013-09-15ftpserver.pl: Added mailbox check to IMAP SELECT handlerSteve Holme
2013-09-15ftpserver.pl: Corrected invalid user details checkSteve Holme
...in both the IMAP LOGIN and POP3 PASS handlers introduced in commit 187ac693744949 and 84ad1569e5fc93 respectively.
2013-09-14ftpserver.pl: Moved IMAP LOGIN handler into own functionSteve Holme
2013-09-14ftpserver.pl: Moved POP3 USER and PASS handlers into own functionsSteve Holme
2013-09-14ftpserver.pl: Corrected invalid argument check in POP3 TOP handlerSteve Holme
...which was accidentally introduced in commit 4d6ef6297ae9b6.
2013-09-14ftpserver.pl: Added capability prerequisite for extended POP3 commandsSteve Holme
2013-09-14tests: Updated descriptions to be more meaningfulSteve Holme
2013-09-14ftpserver.pl: Added support for IMAP NOOP commandSteve Holme
2013-09-14tests: Updated descriptions to be more meaningfulSteve Holme
2013-09-12ftpserver.pl: Fixed missing comma from 7fd84b14d219b1Steve Holme
2013-09-12ftpserver.pl: Fixed variable error introduced in 7fd84b14d219b1Steve Holme
Global symbol "$mailbox" requires explicit package name
2013-09-11ftpserver.pl: Added support for UID commandSteve Holme
2013-09-11ftpserver.pl: Added support for LSUB commandSteve Holme
2013-09-11ftpserver.pl: Added support for IMAP COPY commandSteve Holme
2013-09-11ftpserver.pl: Added support for IMAP CLOSE and EXPUNGE commandsSteve Holme
2013-09-11ftpserver.pl: Added support for POP3 RSET commandSteve Holme
2013-09-11ftpserver.pl: Added the ability to remember what messages are deletedSteve Holme
...as this will be required for IMAP CLOSE and EXPUNGE commands as well as the POP3 RSET command.