aubreyrhodes/scribd-carrierwave — pull request #3 by daveworth (2012-07-18 15:22:22+00:00)
Title: Fix Scribd uploads with query parameters

Scribd was returning 602, unknown file extension, for uploads. The problem was
that the URLs being uploaded (from S3) included AWS credentials as query
parameters. The doctype that rscribd, via calls from scribd-carrierwave,
extracted from `http:///file.pdf?AWS_PARAMETERS=TRUE` was
`pdf?AWS_PARAMETERS=TRUE`. By replicating the file extension extraction code
from rscribd and adding logic to remove the query parameters and passing this as
`type` to rscribd the error disappears.