<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/ui-diff.c, branch v0.9.1</title>
<subtitle>A hyperfast web frontend for git repositories written in C.</subtitle>
<id>http://git.cetero.st/cgit/atom/ui-diff.c?h=v0.9.1</id>
<link rel='self' href='http://git.cetero.st/cgit/atom/ui-diff.c?h=v0.9.1'/>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/'/>
<updated>2012-11-14T23:56:20Z</updated>
<entry>
<title>Format git diff headers correctly when adding or removing files.</title>
<updated>2012-11-14T23:56:20Z</updated>
<author>
<name>Michael Halstead</name>
<email>michael@yoctoproject.org</email>
</author>
<published>2012-11-14T20:41:01Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=62a40c78fed772e795eca8d4e7d6f6ead4d9a125'/>
<id>urn:sha1:62a40c78fed772e795eca8d4e7d6f6ead4d9a125</id>
<content type='text'>
Copying the output of cgit and using it in patches now works when adding
files to or removing files from the repository. This is helpful for people
who use cgit in their patch workflow.
</content>
</entry>
<entry>
<title>ui-ssdiff.c: set correct diffmode in "control panel"</title>
<updated>2012-01-03T16:09:59Z</updated>
<author>
<name>Tim Chen</name>
<email>timchen1@gmail.com</email>
</author>
<published>2012-01-03T16:09:59Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=195742572681d6c2583de392131d1be86ef52f48'/>
<id>urn:sha1:195742572681d6c2583de392131d1be86ef52f48</id>
<content type='text'>
When side-by-side-diffs=1 was set in cgitrc, specifying 'ss=0' in the
querystring would not set the 'unified' option as active in the dropdown
box used to select diffmode.
</content>
</entry>
<entry>
<title>Merge branch 'stable'</title>
<updated>2012-01-03T16:06:58Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2012-01-03T16:06:58Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=04254fa903701943bd45a479a952cc213a5b112a'/>
<id>urn:sha1:04254fa903701943bd45a479a952cc213a5b112a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix diff mode switching when side-by-side-diffs=1</title>
<updated>2012-01-03T16:02:14Z</updated>
<author>
<name>Tim Chen</name>
<email>timchen1@gmail.com</email>
</author>
<published>2012-01-03T16:02:14Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=f2ced535e9f2c2ada7f184735a07a1190a9d810f'/>
<id>urn:sha1:f2ced535e9f2c2ada7f184735a07a1190a9d810f</id>
<content type='text'>
When side-by-side-diffs=1 was set in cgitrc, specyfing 'ss=0' in the query-
string would not switch to unified diffs. This patch fixes the issue by
introducing a separate variable to track the occurrence of "ss" in the
querystring.
</content>
</entry>
<entry>
<title>Merge branch 'stable'</title>
<updated>2011-07-22T12:22:17Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-07-22T12:22:17Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=756e3ea6392e30bcd0a41346d4ffa42c56d715e2'/>
<id>urn:sha1:756e3ea6392e30bcd0a41346d4ffa42c56d715e2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix potential XSS vulnerability in rename hint</title>
<updated>2011-07-22T12:21:28Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2011-07-22T11:47:19Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=bebe89d7c11a92bf206bf6e528c51ffa8ecbc0d5'/>
<id>urn:sha1:bebe89d7c11a92bf206bf6e528c51ffa8ecbc0d5</id>
<content type='text'>
The file name displayed in the rename hint should be escaped to avoid
XSS. Note that this vulnerability is only applicable when an attacker
has gained push access to the repository.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'lh/panel'</title>
<updated>2011-05-23T21:29:24Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-05-23T21:29:24Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=2ffeecb7a6827dcf0f81cf543ed312155f6e8f83'/>
<id>urn:sha1:2ffeecb7a6827dcf0f81cf543ed312155f6e8f83</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid null pointer dereference in cgit_print_diff().</title>
<updated>2011-05-23T20:58:35Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>cgit@cryptocrack.de</email>
</author>
<published>2011-04-05T08:38:53Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=9afc883297b0d0943e9b358d2299950f33e8e5ed'/>
<id>urn:sha1:9afc883297b0d0943e9b358d2299950f33e8e5ed</id>
<content type='text'>
When calling cgit_print_diff() with a bad new_rev and a NULL old_rev,
checking for new_rev's parent commit will result in a null pointer
dereference. Returning on an invalid commit before dereferencing fixes
this. Spotted with clang-analyzer.

Signed-off-by: Lukas Fleischer &lt;cgit@cryptocrack.de&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-diff.c: create a control panel for diff options</title>
<updated>2011-03-06T22:59:56Z</updated>
<author>
<name>Lars Hjemli</name>
<email>hjemli@gmail.com</email>
</author>
<published>2011-03-06T22:59:56Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=962a24892feb9e3d69542bcf0a219dc14836e921'/>
<id>urn:sha1:962a24892feb9e3d69542bcf0a219dc14836e921</id>
<content type='text'>
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
<entry>
<title>ui-diff.c: avoid html injection</title>
<updated>2011-03-05T13:13:06Z</updated>
<author>
<name>Lukasz Janyst</name>
<email>ljanyst@cern.ch</email>
</author>
<published>2011-03-05T13:10:55Z</published>
<link rel='alternate' type='text/html' href='http://git.cetero.st/cgit/commit/?id=7f3c6e0ce9b41142cf2707af100992acdce059df'/>
<id>urn:sha1:7f3c6e0ce9b41142cf2707af100992acdce059df</id>
<content type='text'>
When path-filtering was used in commit-view, the path filter was
included without proper html escaping. This patch closes the hole.

Signed-off-by: Lukasz Janyst &lt;ljanyst@cern.ch&gt;
Signed-off-by: Lars Hjemli &lt;hjemli@gmail.com&gt;
</content>
</entry>
</feed>
