<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/gitweb/gitweb.perl, branch v1.8.0.2</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.8.0.2</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.8.0.2'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2012-11-28T20:05:30Z</updated>
<entry>
<title>Merge branch 'rh/maint-gitweb-highlight-ext' into maint</title>
<updated>2012-11-28T20:05:30Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-11-28T20:05:30Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=1d05d1ded0d9bc3ededcb3a54b0419e1b9d2b2d7'/>
<id>urn:sha1:1d05d1ded0d9bc3ededcb3a54b0419e1b9d2b2d7</id>
<content type='text'>
Syntax highlighting in "gitweb" was not quite working.

* rh/maint-gitweb-highlight-ext:
  gitweb.perl: fix %highlight_ext mappings
</content>
</entry>
<entry>
<title>gitweb: escape html in rss title</title>
<updated>2012-11-12T21:34:53Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2012-11-12T21:34:28Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=0f0ecf68b31303de7cb428554e27d433fe62180e'/>
<id>urn:sha1:0f0ecf68b31303de7cb428554e27d433fe62180e</id>
<content type='text'>
The title of an RSS feed is generated from many components,
including the filename provided as a query parameter, but we
failed to quote it.  Besides showing the wrong output, this
is a vector for XSS attacks.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
</content>
</entry>
<entry>
<title>gitweb.perl: fix %highlight_ext mappings</title>
<updated>2012-11-08T17:59:23Z</updated>
<author>
<name>Richard Hubbell</name>
<email>richard_hubbe11@lavabit.com</email>
</author>
<published>2012-11-04T17:45:55Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=048b3991924a0666a2ab4f381caac8d62962de38'/>
<id>urn:sha1:048b3991924a0666a2ab4f381caac8d62962de38</id>
<content type='text'>
When commit 592ea41 refactored the list of extensions for
syntax highlighting, it failed to take into account perl's
operator precedence within lists. As a result, we end up
creating a dictionary of one-to-one elements when the intent
was to map mutliple related types to one main type (e.g.,
bash, ksh, zsh, and sh should all map to sh since they share
similar syntax, but we ended up just mapping "bash" to
"bash" and so forth).

This patch adds parentheses to make the mapping as the
original change intended. It also reorganizes the list to
keep mapped extensions together.

Signed-off-by: Richard Hubbell &lt;richard_hubbe11@lavabit.com&gt;
Signed-off-by: Jeff King &lt;peff@peff.net&gt;
</content>
</entry>
<entry>
<title>gitweb.cgi: fix "comitter_tz" typo in feed</title>
<updated>2012-10-12T15:43:12Z</updated>
<author>
<name>Dylan Alex Simon</name>
<email>dylan@dylex.net</email>
</author>
<published>2012-10-11T20:40:35Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=debf29dc2921e12c4fa8205d894741a694f0c4fc'/>
<id>urn:sha1:debf29dc2921e12c4fa8205d894741a694f0c4fc</id>
<content type='text'>
gitweb's feeds sometimes contained committer timestamps in the wrong timezone
due to a misspelling.

Signed-off-by: Dylan Simon &lt;dylan@dylex.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint-1.7.11' into maint</title>
<updated>2012-09-10T22:31:06Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-09-10T22:31:06Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=e3f26752b5e9d38e88a09671d124b61fb0cd5dbf'/>
<id>urn:sha1:e3f26752b5e9d38e88a09671d124b61fb0cd5dbf</id>
<content type='text'>
* maint-1.7.11:
  Almost 1.7.11.6
  gitweb: URL-decode $my_url/$my_uri when stripping PATH_INFO
  rebase -i: use full onto sha1 in reflog
  sh-setup: protect from exported IFS
  receive-pack: do not leak output from auto-gc to standard output
  t/t5400: demonstrate breakage caused by informational message from prune
  setup: clarify error messages for file/revisions ambiguity
  send-email: improve RFC2047 quote parsing
  fsck: detect null sha1 in tree entries
  do not write null sha1s to on-disk index
  diff: do not use null sha1 as a sentinel value
</content>
</entry>
<entry>
<title>Merge branch 'js/gitweb-path-info-unquote' into maint-1.7.11</title>
<updated>2012-09-10T22:23:46Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-09-10T22:23:46Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=3d4003bdc78095efce99149c0e6967f55edf8c53'/>
<id>urn:sha1:3d4003bdc78095efce99149c0e6967f55edf8c53</id>
<content type='text'>
"gitweb" when used with PATH_INFO failed to notice directories with
SP (and other characters that need URL-style quoting) in them.

* js/gitweb-path-info-unquote:
  gitweb: URL-decode $my_url/$my_uri when stripping PATH_INFO
</content>
</entry>
<entry>
<title>gitweb: URL-decode $my_url/$my_uri when stripping PATH_INFO</title>
<updated>2012-08-15T18:47:43Z</updated>
<author>
<name>Jay Soffian</name>
<email>jaysoffian@gmail.com</email>
</author>
<published>2012-08-09T02:29:26Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=cacfc09ba82bfc6b0e1c047247785d56a6054b2f'/>
<id>urn:sha1:cacfc09ba82bfc6b0e1c047247785d56a6054b2f</id>
<content type='text'>
When gitweb is used as a DirectoryIndex, it attempts to strip
PATH_INFO on its own, as $cgi-&gt;url() fails to do so.

However, it fails to account for the fact that PATH_INFO has
already been URL-decoded by the web server, but the value
returned by $cgi-&gt;url() has not been. This causes the stripping
to fail whenever the URL contains encoded characters.

To see this in action, setup gitweb as a DirectoryIndex and
then use it on a repository with a directory containing a
space in the name. Navigate to tree view, examine the gitweb
generated html and you'll see a link such as:

  &lt;a href="/test.git/tree/HEAD:/directory with spaces"&gt;directory with spaces&lt;/a&gt;

When clicked on, the browser will URL-encode this link, giving
a $cgi-&gt;url() of the form:

   /test.git/tree/HEAD:/directory%20with%20spaces

While PATH_INFO is:

   /test.git/tree/HEAD:/directory with spaces

Fix this by calling unescape() on both $my_url and $my_uri before
stripping PATH_INFO from them.

Signed-off-by: Jay Soffian &lt;jaysoffian@gmail.com&gt;
Acked-by: Jakub Narebski &lt;jnareb@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'nk/maint-gitweb-log-by-lines'</title>
<updated>2012-07-24T03:55:07Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2012-07-24T03:55:07Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=6da9ded763b69685149c2f9a752e2005261bf0c3'/>
<id>urn:sha1:6da9ded763b69685149c2f9a752e2005261bf0c3</id>
<content type='text'>
Teach gitweb to pay attention to various forms of credits that are
similar to "Signed-off-by:" lines.

* nk/maint-gitweb-log-by-lines:
  gitweb: Add support to Link: tag
  gitweb: Handle other types of tag in git_print_log
  gitweb: Cleanup git_print_log()
</content>
</entry>
<entry>
<title>gitweb: Add support to Link: tag</title>
<updated>2012-07-05T22:29:12Z</updated>
<author>
<name>Namhyung Kim</name>
<email>namhyung@kernel.org</email>
</author>
<published>2012-07-04T02:47:26Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=66c857e1aec14e5049dbef659369f140ef220ae4'/>
<id>urn:sha1:66c857e1aec14e5049dbef659369f140ef220ae4</id>
<content type='text'>
The tip tree is the one of major subsystem tree in the
Linux kernel project. On the tip tree, the Link: (or
similar Buglink:) tag is used for tracking the original
discussion or context. Since it's ususally in the S-o-b
area, it'd be better using same style with others.

Also as it tends to contain a message-id sent from git
send-email, a part of the line would set a wrong hyperlink
like [1]. Fix it by not using format_log_line_html().

[1] git.kernel.org/?p=linux/kernel/git/tip/tip.git;a=commit;h=08942f6d5d992e9486b07653fd87ea8182a22fa0

Signed-off-by: Namhyung Kim &lt;namhyung@kernel.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb: Handle other types of tag in git_print_log</title>
<updated>2012-07-05T22:23:35Z</updated>
<author>
<name>Namhyung Kim</name>
<email>namhyung@kernel.org</email>
</author>
<published>2012-07-04T02:47:25Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=3d1110aa72e4427e82e70563f734c74cd08fe98e'/>
<id>urn:sha1:3d1110aa72e4427e82e70563f734c74cd08fe98e</id>
<content type='text'>
There are many types of tags used in S-o-b area [1].
Update the regex to handle them properly. It requires
the tag should be started by a capital letter and ended
by '-by: ' or '-By: '. The only exception is 'Cc: '.

[1] http://lwn.net/Articles/503829/

Signed-off-by: Namhyung Kim &lt;namhyung@kernel.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
