Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix upload-pack regex #15

Closed
wants to merge 1 commit into from

4 participants

@juliangruber

Does that also fix #14 ?

@contra

I've been using this without any issues - @substack bump

@substack
Owner

A similar patch was already submitted and merged in so I'm closing this one.

@substack substack closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 14, 2012
  1. @distracteddev

    Fix upload-pack regex

    distracteddev authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/service.js
View
2  lib/service.js
@@ -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) {
Something went wrong with that request. Please try again.