~ubuntu-branches/ubuntu/lucid/phpmyadmin/lucid

« back to all changes in this revision

Viewing changes to db_operations.php

  • Committer: Bazaar Package Importer
  • Author(s): Michal Čihař
  • Date: 2009-10-14 10:58:28 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20091014105828-2dpa0jc6nwcgnnp4
* New upstream version.
  - Fixes XSS (PMASA-2009-6, CVE-2009-3696, CVE-2009-3697).
* Register documentation on doc-base.
* Use mootools from Debian package rather than own copy.
* Allow saving of configuration from setup script only after explicit action
  from administrator (Closes: #535044, #543460).

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 *  - adding tables
10
10
 *  - viewing PDF schemas
11
11
 *
12
 
 * @version $Id: db_operations.php 12011 2008-11-28 12:47:41Z nijel $
 
12
 * @version $Id: db_operations.php 13034 2009-10-12 21:47:40Z lem9 $
13
13
 * @package phpMyAdmin
14
14
 */
15
15
 
613
613
        <?php
614
614
        while ($pages = @PMA_DBI_fetch_assoc($test_rs)) {
615
615
            echo '                <option value="' . $pages['page_nr'] . '">'
616
 
                . $pages['page_nr'] . ': ' . $pages['page_descr'] . '</option>' . "\n";
 
616
                . $pages['page_nr'] . ': ' . htmlspecialchars($pages['page_descr']) . '</option>' . "\n";
617
617
        } // end while
618
618
        PMA_DBI_free_result($test_rs);
619
619
        unset($test_rs);