~ubuntu-branches/ubuntu/karmic/phppgadmin/karmic

« back to all changes in this revision

Viewing changes to selenium/tests/drop_database.php

  • Committer: Bazaar Package Importer
  • Author(s): Peter Eisentraut
  • Date: 2008-12-31 19:32:22 UTC
  • mfrom: (1.3.1 upstream) (8.1.2 sid)
  • mto: (8.1.4 sid)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: james.westby@ubuntu.com-20081231193222-swr5hb1fie1enl4l
* New upstream release
  - Fixes local file inclusion vulnerability (CVE-2008-5587) (closes: #508026)
* Removed register_globals from debian/apache.conf (closes: #508026)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php require('./config.inc.php') ?>
2
 
<html>
3
 
<head>
4
 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
 
<title>New Test</title>
6
 
</head>
7
 
<body>
8
 
<table cellpadding="1" cellspacing="1" border="1">
9
 
<thead>
10
 
<tr><td rowspan="1" colspan="3">New Test</td></tr>
11
 
</thead><tbody>
12
 
<?php include('login.php') ?>
13
 
<tr>
14
 
        <td>clickAndWait</td>
15
 
        <td>link=<?php echo $lang['strdatabases'] ?></td>
16
 
        <td></td>
17
 
</tr>
18
 
<tr>
19
 
        <td>clickAndWait</td>
20
 
        <td>//tr/td/a[text()='<?php echo $testdb ?>']/../../td/a[text()='<?php echo $lang['strdrop'] ?>']</td>
21
 
        <td></td>
22
 
</tr>
23
 
<tr>
24
 
        <td>clickAndWait</td>
25
 
        <td>drop</td>
26
 
        <td></td>
27
 
</tr>
28
 
<tr>
29
 
        <td>assertText</td>
30
 
        <td>//p[@class='message']</td>
31
 
        <td><?php echo $lang['strdatabasedropped'] ?></td>
32
 
</tr>
33
 
<?php include('logout.php'); ?>
34
 
</tbody></table>
35
 
</body>
36
 
</html>
 
 
b'\\ No newline at end of file'