diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-07-14 01:57:19 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-07-15 22:48:32 +0200 |
commit | 03486c3b6feafb18f00b0e0c092a1bd4ac2f3903 (patch) | |
tree | f91bbdf64c725e35c7f08ac930e7fcd2a1f066c6 /web/template/actions_form.php | |
parent | 2425f963f8ad45292c217914b5fee1ed18104c26 (diff) |
Use virtual paths for package details
Extend the routing front/back ends to allow for using
"/package/$pkgname/" for individual packages.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/actions_form.php')
-rw-r--r-- | web/template/actions_form.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/actions_form.php b/web/template/actions_form.php index 9cd5024..045022d 100644 --- a/web/template/actions_form.php +++ b/web/template/actions_form.php @@ -1,5 +1,5 @@ <div class="box"> - <form action="<?php echo get_uri('/packages/'); ?>?ID=<?php echo $row['ID'] ?>" method="post"> + <form action="<?php echo htmlspecialchars(get_pkg_uri($row['Name']), ENT_QUOTES); ?>" method="post"> <fieldset> <input type="hidden" name="IDs[<?php echo $row['ID'] ?>]" value="1" /> <input type="hidden" name="ID" value="<?php echo $row['ID'] ?>" /> |