Skip to content

Commit

Permalink
path disclosure
Browse files Browse the repository at this point in the history
  • Loading branch information
lem9 committed Jul 19, 2003
1 parent 9ee62d0 commit e3161cf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions db_printview.php3
Expand Up @@ -9,6 +9,13 @@
require('./libraries/grab_globals.lib.php3');
require('./header.inc.php3');

// Check parameters

if (!defined('PMA_COMMON_LIB_INCLUDED')) {
include('./libraries/common.lib.php3');
}

PMA_checkParameters(array('db'));

/**
* Defines the url to return to in case of error in a sql statement
Expand Down
2 changes: 2 additions & 0 deletions export.php3
Expand Up @@ -9,6 +9,8 @@ require('./libraries/grab_globals.lib.php3');
require('./libraries/common.lib.php3');
require('./libraries/zip.lib.php3');

PMA_checkParameters(array('what'));

// What type of export are we doing?
if ($what == 'excel') {
$type = 'csv';
Expand Down

0 comments on commit e3161cf

Please sign in to comment.