mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
With our FastAPI server, trailing slashes causes a 307 redirect which ends up redirecting users to routes which do not contain trailing slashes. This removes trailing slashes from our templates where FastAPI is concerned to avoid unnecessary redirects. There may still be links or usages around which have unnecessary usages of a trailing slash; please keep a look out for these and remove them where possible. Signed-off-by: Kevin Morris <kevr@0cost.org>
14 lines
493 B
HTML
14 lines
493 B
HTML
<div id="pkgsearch" class="widget">
|
|
<form id="pkgsearch-form" method="get" action="/packages">
|
|
<fieldset>
|
|
<label for="pkgsearch-field">{{ "Package Search" | tr }}:</label>
|
|
<input type="hidden" name="O" value="0" />
|
|
<input id="pkgsearch-field"
|
|
type="text"
|
|
name="K"
|
|
size="30"
|
|
maxlength="35"
|
|
autocomplete="off" />
|
|
</fieldset>
|
|
</form>
|
|
</div>
|