Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fix upload-pack regex #15

Closed
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
View
@@ -13,7 +13,7 @@ module.exports = function (opts, req, res) {
var headerRE = {
'receive-pack' : '([0-9a-fA-F]+) ([0-9a-fA-F]+) refs\/(heads|tags)\/(.*?)( |00|\u0000)',
- 'upload-pack' : '7bwant ([0-9a-fA-F]+)'
+ 'upload-pack' : '^\\S+ ([0-9a-fA-F]+)'
};
function Service (opts, req, res) {