sorentwo/carrierwave-aws — pull request #10 by emice (2013-09-09 07:16:46+00:00)
Title: Fix filename to avoid appending authenticated url params

Previously, upload.file.filename was returning "filename.ext?AWSAccessKeyId=...." instead of "filename.ext". Now using URI to parse the url and then extract the path without the trailing params, followed by a call to ::File.basename to get the filename out of that path. The regular expression that was parsing the raw url string before has been removed.