Wrong filename detection of Content-Disposition with semicolon at the end

See my comment at
https://github.com/joomla/joomla-cms/commit/de92ca509a877d3e5732687ea7f2bc06ead1931d
due to
https://github.com/joomla/joomla-cms/pull/3182