~ubuntu-branches/ubuntu/intrepid/phpmyadmin/intrepid-security

« back to all changes in this revision

Viewing changes to libraries/url_generating.lib.php

  • Committer: Bazaar Package Importer
  • Author(s): Thijs Kinkhorst
  • Date: 2006-11-22 22:24:02 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20061122222402-jwfycdbd9100jzti
Tags: 4:2.9.1.1-1
* New upstream release.
  - Addresses several security issues (Closes: #399329).

* In Depends, explicitly prefer the apache2/apache PHP module, to make
  sure the correct one is selected upon installation.
* Drop 100-dutch_fixtypo.patch, integrated upstream.

* Add note to default config file about adding sensitive data
  to that file (Closes: #321529).
* Update README.Debian with information about register_globals.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
 
/* $Id: url_generating.lib.php 9472 2006-09-29 21:12:52Z  $ */
 
2
/* $Id: url_generating.lib.php 9711 2006-11-17 09:32:12Z nijel $ */
3
3
// vim: expandtab sw=4 ts=4 sts=4:
4
4
 
5
5
 
186
186
 
187
187
    $param_strings = array();
188
188
    foreach ($params as $key => $val) {
189
 
        $param_strings[] = urlencode($key) . '=' . urlencode($val);
 
189
        /* We ignore arrays as we don't use them! */
 
190
        if (!is_array($val)) {
 
191
            $param_strings[] = urlencode($key) . '=' . urlencode($val);
 
192
        }
190
193
    }
191
194
 
192
195
    if (empty($param_strings)) {