{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/minify/issues/130","labels_url":"https://api.github.com/repos/chrsmith/minify/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/minify/issues/130/comments","events_url":"https://api.github.com/repos/chrsmith/minify/issues/130/events","html_url":"https://github.com/chrsmith/minify/issues/130","id":58993831,"number":130,"title":"Need a \"f=\" version of Minify_buildUri()","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/minify/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/minify/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/minify/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-26T00:20:15Z","updated_at":"2015-02-26T00:20:15Z","closed_at":null,"body":"```\nPseudocode:\n\nfunction Minify_pathsToUri($paths, $modRewriteWorks = false) {\n  // $paths has strings like \"//path/to/file.js\"\n  // converted into array of complete file paths\n  // $mtime = max(filemtime(file1), filemtime(file2), ...)\n  // construct URI\n  $root = $modRewriteWorks ? \"/min/f=\" : \"/min/?f=\";\n  return $root . implode(',', $shortPaths) . \"&\" . $mtime;\n}\n```\n\n-----\nOriginal issue reported on code.google.com by `mrclay....@gmail.com` on 6 Aug 2009 at 12:05"},"comment":{"url":"https://api.github.com/repos/chrsmith/minify/issues/comments/76094241","html_url":"https://github.com/chrsmith/minify/issues/130#issuecomment-76094241","issue_url":"https://api.github.com/repos/chrsmith/minify/issues/130","id":76094241,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T00:20:15Z","updated_at":"2015-02-26T00:20:15Z","body":"```\nthere is a problem with this function\n\n$root = $modRewriteWorks ? \"/min/f=\" : \"/min/?f=\";\nreturn $root . implode(',', $shortPaths) . \"&\" . $mtime;\n\nmodRewriteWorks: false\nhttp://examplem.com/min/?g=keyName&1111\n\nmodRewriteWorks: true\nhttp://examplem.com/min/g=keyName&1111 the second url starts with & and ? is \nmissing. For me the browsers doesn't take the version number it should be \nhttp://examplem.com/min/g=keyName?1111 because it was rewriten\n\n```\n\n-----\nOriginal comment by `ciprian.mihalache@originals.ro` on 23 Apr 2014 at 5:56"}}