If query arguments are included in a remote stream URI the test for file extensions will fail.
Patch to fix this follows.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 1472378-remote_stream_wrapper-strip_query_args-3.patch | 657 bytes | elliotttf |
| #1 | 1472378-remote_stream_wrapper-strip_query_args.patch | 570 bytes | elliotttf |
Comments
Comment #1
elliotttf commentedPatch to strip query arguments from file basenames.
Comment #2
elliotttf commentedComment #3
elliotttf commentedMissed a line on the first patch, here's a correct version.
Comment #4
dave reidThanks, I committed this using $path = parse_url($uri, PHP_URL_PATH) which I prefer to use over regex if possible.
http://drupalcode.org/project/remote_stream_wrapper.git/commit/6cc8a9e