Use POST, not GET, so URL form variables are available
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 25 Jan 2011 19:47:05 +0000 (12:47 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 25 Jan 2011 19:47:15 +0000 (12:47 -0700)
chora/lib/Application.php
chora/templates/directory/header.inc

index 2c44dac..df57594 100644 (file)
@@ -79,7 +79,7 @@ class Chora_Application extends Horde_Registry_Application
             'ws'  => 1,
         );
 
-        /* See if any actions have been passed as GET variables, and if so,
+        /* See if any actions have been passed as form variables, and if so,
          * assign them into the acts array. */
         $vars = Horde_Variables::getDefaultVariables();
         foreach (array_keys($acts) as $key) {
index c862379..f499c12 100644 (file)
@@ -1,7 +1,7 @@
 <?php if (count($branches) > 1): ?>
 <div class="options">
  <span>
-  <form method="get" action="<?php echo Chora::url('browsedir', Horde_Util::getFormData('f')) ?>">
+  <form method="post" action="<?php echo Chora::url('browsedir', Horde_Util::getFormData('f')) ?>">
    <?php echo _("View Branch:") ?>
    <select name="onb" onchange="this.form.submit()">
     <option value="0"<?php if (!isset($onb) || !$onb) echo ' selected="selected"' ?>><?php echo _("All Branches") ?></option>