From: Jehan Bing <jehan@orb.com>
To: git@vger.kernel.org
Subject: "Nested quantifiers" error in gitweb with "++" in the filename
Date: Thu, 22 Dec 2011 12:37:52 -0800 [thread overview]
Message-ID: <jd04eq$9m0$1@dough.gmane.org> (raw)
Hi,
I'm getting an error when trying to look at a blob when the filename has
"++" in it:
http://.../blob/13ec1624fefc23d20d0407aac3337b35844a2ceb:/foo-++.txt
And I get the following error page:
gitprojects /
500 - Internal Server Error
Nested quantifiers in regex; marked by <-- HERE in
m//test.git/blob/13ec1624fefc23d20d0407aac3337b35844a2ceb:/foo-++ <--
HERE .txt$/ at (eval 10) line 7.
OPML TXT
The Apache log show the same thing:
gitweb.cgi: Nested quantifiers in regex; marked by <-- HERE in
m//test.git/blob/13ec1624fefc23d20d0407aac3337b35844a2ceb:/foo-++ <--
HERE .txt$/ at (eval 10) line 7.
It works fine if the filename has a single '+' sign (tried "foo-+.txt").
There is a same error when browsing a tree and clicking a directory with
the "++"
We notice the error when looking at the Qt source code. They have a
bunch of "*g++*" files and directories.
We use git-1.7.6 but updating to gitweb.cgi from 1.7.8.1 didn't fix it.
Regards,
Jehan
next reply other threads:[~2011-12-22 20:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-22 20:37 Jehan Bing [this message]
2011-12-23 16:02 ` "Nested quantifiers" error in gitweb with "++" in the filename demerphq
2011-12-23 19:37 ` Jehan Bing
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='jd04eq$9m0$1@dough.gmane.org' \
--to=jehan@orb.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).