did when copying and pasting a url, gives a really misleading error message.
exist.
* (bug 27763) Article::getParserOutput() no longer throws a fatal given when an
incorrect revision ID is passed.
+* Trim the form field for uploading by url to remove extra spaces which could
+ cause confusing error messages.
=== API changes in 1.18 ===
* (bug 26339) Throw warning when truncating an overlarge API result
$desiredDestName = $request->getText( 'wpUploadFileURL' );
return $this->initialize(
$desiredDestName,
- $request->getVal( 'wpUploadFileURL' ),
+ trim( $request->getVal( 'wpUploadFileURL' ) ),
false
);
}