<feed xmlns='http://www.w3.org/2005/Atom'>
<title>markzz/aurweb.git/web/template, branch v1.9.1</title>
<subtitle>aurweb working repository</subtitle>
<id>https://git.markzz.net/markzz/aurweb.git/atom/web/template?h=v1.9.1</id>
<link rel='self' href='https://git.markzz.net/markzz/aurweb.git/atom/web/template?h=v1.9.1'/>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/'/>
<updated>2012-02-19T04:21:48Z</updated>
<entry>
<title>Escape all output strings in the header and footer</title>
<updated>2012-02-19T04:21:48Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2012-02-19T03:49:54Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=19789c3f759f4162a2eaa4ccc0b6fe0df51957ca'/>
<id>urn:sha1:19789c3f759f4162a2eaa4ccc0b6fe0df51957ca</id>
<content type='text'>
Escape each output string using htmlspecialchars(). These aren't
exploitable; it's still better to escape them properly.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Fix some more XSS vulnerabilities</title>
<updated>2012-02-19T03:48:31Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2012-02-19T03:10:12Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=6f6904db3fa4921abc92b936dbc50bfdea0cb225'/>
<id>urn:sha1:6f6904db3fa4921abc92b936dbc50bfdea0cb225</id>
<content type='text'>
Escape strings properly using htmlspecialchars(). Seems like we missed
these in former cleanups. Fixes FS#28515.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Wrap mysql_real_escape_string() in a function</title>
<updated>2011-10-25T07:25:30Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2011-10-20T06:15:02Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=10b6a8fff7e6d407421c74889455b969be7f867f'/>
<id>urn:sha1:10b6a8fff7e6d407421c74889455b969be7f867f</id>
<content type='text'>
Wrap mysql_real_escape_string() in a wrapper function db_escape_string()
to ease porting to other databases, and as another step to pulling more
of the database code into a central location.

This is a rebased version of a patch by elij submitted about half a year
ago.

Thanks-to: elij &lt;elij.mx@gmail.com&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;

Conflicts:

	web/lib/aur.inc.php
</content>
</entry>
<entry>
<title>web/template/login_form.php: Escape the request URI</title>
<updated>2011-09-05T14:56:09Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2011-09-05T14:56:09Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=20b20c20f2d40ad2bc1cc2e164f0b6d3c92321dd'/>
<id>urn:sha1:20b20c20f2d40ad2bc1cc2e164f0b6d3c92321dd</id>
<content type='text'>
Reported-by: Thomas Bächler &lt;thomas@archlinux.org&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Link to current page in the login bar HTTPs link</title>
<updated>2011-09-05T14:47:57Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2011-08-26T05:47:44Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=a00e5b040a42349e40a6d22cf822042ccf651be4'/>
<id>urn:sha1:a00e5b040a42349e40a6d22cf822042ccf651be4</id>
<content type='text'>
This is way more convenient if you follow a HTTP link. Implements
FS#25757.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Add missing __() to category info in package details</title>
<updated>2011-08-22T06:15:36Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2011-08-20T23:31:28Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=dad42297c7fe5404b2b7c65cd350b7ea4a8ac865'/>
<id>urn:sha1:dad42297c7fe5404b2b7c65cd350b7ea4a8ac865</id>
<content type='text'>
This makes the "Category" label as well as "Change category" button on
the package details page translatable. Fixes FS#25692.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Add a configuration setting to disallow HTTP login</title>
<updated>2011-08-11T19:04:38Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2011-08-11T15:35:03Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=1c9db1d1f14d5f83d8bd7dbbd535cf109680471f'/>
<id>urn:sha1:1c9db1d1f14d5f83d8bd7dbbd535cf109680471f</id>
<content type='text'>
If this is enabled, do not show the login form and display a note
suggesting to switch to a secure connection if a user accesses the site
via HTTP.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Remove unnecessary atype and uid lookup from package_details()</title>
<updated>2011-08-11T14:17:09Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2011-08-11T14:04:01Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=45a50d4a66f5e57d260109e1f332ee7d06183d46'/>
<id>urn:sha1:45a50d4a66f5e57d260109e1f332ee7d06183d46</id>
<content type='text'>
These were never used in the function. Where they are used is in the
pkg_details.php template, so move them closer to their actual usage so
as not to confuse poor programmers such as myself.

Signed-off-by: Dan McGee &lt;dan@archlinux.org&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Allow for merging deleted packages into existing ones</title>
<updated>2011-08-11T14:17:07Z</updated>
<author>
<name>Lukas Fleischer</name>
<email>archlinux@cryptocrack.de</email>
</author>
<published>2011-07-31T17:05:01Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=87bdee60bcca219ad13ea9bd14cd5611f9dac4c6'/>
<id>urn:sha1:87bdee60bcca219ad13ea9bd14cd5611f9dac4c6</id>
<content type='text'>
Merge all comments and votes of deleted packages into another package if
the "Merge with" field is used. Duplicate votes (votes from a user who
already voted on the target package or voted on more than one of the
deleted packages) are discarded.

Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
<entry>
<title>Segment the upload directory by package name prefix</title>
<updated>2011-08-10T12:34:07Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2011-08-09T22:01:13Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=9a79d2105e2dea9876883da65a00d245d475bed2'/>
<id>urn:sha1:9a79d2105e2dea9876883da65a00d245d475bed2</id>
<content type='text'>
This implements the following scheme:

* /packages/cower/ --&gt; /packages/co/cower/
* /packages/j/     --&gt; /packages/j/j/
* /packages/zqy/   --&gt; /packages/zq/zqy/

We take up to the first two characters of each package name as a
intermediate subdirectory, and then the full package name lives
underneath that. Shorter named packages live in a single letter
directory.

Why, you ask? Well because earlier today the AUR hit 32,000 entries in
the unsupported/ directory, making new package uploads impossible. While
some might argue we shouldn't have so many damn packages in the repos,
we should be able to handle this case.

Why two characters instead of one? Our two biggest two-char groups, 'pe'
and 'py', both start with 'p', and have nearly 2000 packages each. Go
Python and Perl.

Still needed is a "move the existing data" script, as well as a set of
rewrite rules for those wishing to preserve backward compatible URLs for
any helper programs doing the wrong thing and relying on them.

Signed-off-by: Dan McGee &lt;dan@archlinux.org&gt;
Signed-off-by: Lukas Fleischer &lt;archlinux@cryptocrack.de&gt;
</content>
</entry>
</feed>
