office-gobmx/ucb/source
Michael Stahl 022e476af4 ucb: FTP UCP: report CURLE_URL_MALFORMAT as IllegalIdentifierException
With curl 7.86, the test JunitTest_ucb_complex starts to fail:

.ftp://noname:nopasswd@*nohost.invalid
now executing open
com.sun.star.ucb.InteractiveAugmentedIOException:
	at com.sun.proxy.$Proxy15.execute(Unknown Source)
	at complex.ucb.UCB.executeCommand(UCB.java:63)
	at complex.ucb.UCB.checkWrongFtpConnection(UCB.java:119)

because curl_easy_perform() now returns CURLE_URL_MALFORMAT where
previously it was CURLE_COULDNT_RESOLVE_HOST.

Map this to an exception the test expects.

Change-Id: Ifdb672946726ddb4cb4d9426b7e70eefac63f040
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141877
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2022-10-26 16:02:25 +02:00
..
cacher
core
inc
regexp
sorter
ucp ucb: FTP UCP: report CURLE_URL_MALFORMAT as IllegalIdentifierException 2022-10-26 16:02:25 +02:00