Github user robertkowalski commented on a diff in the pull request:
https://github.com/apache/couchdb/pull/202#discussion_r11175110
--- Diff: src/fauxton/tasks/couchserver.js ---
@@ -51,6 +51,7 @@ module.exports = function (grunt) {
filePath = path.join(app_dir, url.replace('/_utils/fauxton/',''));
} else if (!!url.match(/assets/)) {
// serve any javascript or css files from here assets dir
+ url = url.replace(/\?.*/, '');
--- End diff --
ZeroClipboard is adding a GET-parameter with the unix-timestamp when it is
requesting the `swf` to bust browser-caches. It requests something like this
`http://localhost:8080/plugins/zeroclipboard.swf?131231234`.
The node server is taking any url and is mapping it directly to a path on
the filesystem, but a file named `zeroclipboard.swf?131231234` does not exist,
the filename we have to search for on the disk is `zeroclipboard.swf` and
therefore the server returns a 404 error.
So if we are requesting files with a `GET`-Parameter we have to slice it
off, or implement another solution that reacts to the `GET`-Parameter - but
until now there is no use-case for reacting to `GET`-Parameters.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---