Commit Graph

776 Commits

Author SHA1 Message Date
Deven Bansod
6703597772 Handle multiple :p while sanitizing MySQL hosts
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-11-08 10:14:23 +05:30
Michal Čihař
5e108a340f Correctly parse string length when checking serialized data
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-10-04 13:17:07 +02:00
Michal Čihař
f2add98bd9 Strip path even if openbasedir restrictions apply
This really should not be the case here as what we get here is code
executed by PHP, so it should have already passed openbasedir
restrictions.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-08-18 10:14:01 +02:00
Michal Čihař
378c3820bf Sanitize filename on SHP import
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-22 11:49:35 +02:00
Michal Čihař
714818f3ad Use https to access phpmyadmin.net
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-18 16:20:34 +02:00
Michal Čihař
80c93025a7 Validate serialized data before unserializing
We need only strings, integers or arrays, so there is no need to
unserialize strings containing any complex types.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-12 16:25:20 +02:00
Michal Čihař
8e0918cc41 Sanitize MySQL host name before connecting
It can contain p: prefix which we don't want to honor.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-12 15:10:59 +02:00
Michal Čihař
cf2e0afdb7 Use https for wiki links
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-07-09 09:10:57 +02:00
Michal Čihař
6b52ae4d19 Adjust test expectations to match new code
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-06-16 08:55:39 +02:00
Michal Čihař
04a20d5435 Fix syntax error in disabled test
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-28 15:10:10 +01:00
Michal Čihař
3f9c1680c0 Skip PDO test on PHP 5.2
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-28 15:03:11 +01:00
Michal Čihař
f9b36a377a Use syntax compatible with older PHP versions
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-28 14:59:46 +01:00
Michal Čihař
d4447a53fa Include more verbose error message
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-28 14:57:27 +01:00
Michal Čihař
7ca28f105b Skip not supported test on PHP 5.2
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-28 14:50:34 +01:00
Michal Čihař
1e5d12abcd Revert "Make test check compatible with PHP 5.2"
This reverts commit 6babab9874.
2016-01-28 14:46:34 +01:00
Michal Čihař
6babab9874 Make test check compatible with PHP 5.2
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-28 14:43:19 +01:00
Michal Čihař
9b5c64e14d Correctly place expected result
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-28 14:40:58 +01:00
Michal Čihař
ed9e2b474d Remove non working break
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-28 14:38:25 +01:00
Michal Čihař
e167f5ade9 Make the test skip without pdo_mysql
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-28 14:30:05 +01:00
Michal Čihař
2cc9f56559 Remove mistakenly pasted filename
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-28 14:19:58 +01:00
Michal Čihař
00c64c6dde Skip tests if ReflectionClass::setAccessible is not available
This is the case on PHP 5.2.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-28 14:17:37 +01:00
Marc Delisle
4fb5088f86 bug #3678 Does not display or manipulate bit(64) fields appropriately 2013-10-09 10:06:47 -04:00
Madhura Jayaratne
f4fce01443 Fix failing tests 2013-09-14 16:46:58 +05:30
Michal Čihař
1084e4dfdd Do not show tooltip in table navigation
Most tables don't have any comment set and this causes serious slow down
of a navigation.
2013-08-27 11:08:28 +02:00
Marc Delisle
d4d5a03766 Bug #3960 NavigationBarIconic config not honored 2013-06-21 10:00:41 -04:00
Marc Delisle
0566bbeedd Forgot to fix the test 2013-06-06 11:47:39 -04:00
Marc Delisle
5a251b8b07 Dead code 2013-05-20 13:21:53 -04:00
Marc Delisle
b5dd9e2d04 Dead code 2013-05-20 13:19:12 -04:00
Marc Delisle
b7508e237b Dead code 2013-05-20 13:14:58 -04:00
Spun Nakandala
22ba2d8147 Bug #3919 PropertiesIconic not honored fixed
(cherry picked from commit 01c57f71ca)
2013-05-14 11:51:29 +02:00
Michal Čihař
bb597f7341 Add one more test for advisor 2013-05-02 10:28:25 +02:00
Marc Delisle
a51b3ea9b9 Fix broken test 2013-04-11 20:13:22 -04:00
Marc Delisle
29b297f41f Fix bug "#3853 Blowfish implementation might be broken" by replacing the
library with phpseclib

I could not make PMA_blowfish_test.php work with the new library.
2013-04-01 07:04:25 -04:00
Marc Delisle
6ec9b8336b Fix merge conflicts 2013-03-26 07:49:12 -04:00
Marc Delisle
c7d32bf649 Adjust tests for new Safari detection 2013-03-25 20:09:45 -04:00
Marc Delisle
79b7d3c570 Merge pull request #200 from hisamith/css_change
[Contest-6] No hard-coded icons in css
2013-03-15 07:12:26 -07:00
Samith Dassanayake
8b7ef92205 Update the test cases according to the changes for Message.class.php 2013-03-06 22:03:30 +05:30
Dieter Adriaenssens
6c029fe889 wrap long lines 2013-03-05 15:12:04 +01:00
Dieter Adriaenssens
e6542c5dbf fix typos 2013-03-05 15:11:16 +01:00
Dieter Adriaenssens
e8fe7f2b15 add subpackage Selenium to docblock 2013-03-05 15:07:40 +01:00
Spun Nakandala
e6b0ded105 Docblocks added for selenium test classes 2013-03-04 10:36:05 +05:30
Michal Čihař
a9e12ddec7 Various coding style improvements 2013-03-01 09:54:26 +01:00
ayushchd
f786c4c83a Added another assertion for testSendHeaderLocationWithoutSidWithIis
Also fixed the syntax for getting user defined constants as previous
one was failing the Travid build
2013-02-28 22:01:35 +05:30
ayushchd
12f2c08aff Fixed test failures and errors caused in tests using the runkit extension
Fixed:

1. errors pertaining to runkit extension in tests under
PMA_headerLocation_test.php
2. errors pertaining to runkit extension in tests under
PMA_whichCrlf_test.php
3. failed test: testSendHeaderLocationWithoutSidWithIis()
2013-02-28 20:54:24 +05:30
Michal Čihař
f780d01eae Merge remote-tracking branch 'ayushchd/unit_testing_local'
Conflicts:
	test/selenium/PmaSeleniumCreateDropDatabaseTest.php
2013-02-25 13:17:14 +01:00
Spun Nakandala
c97b00e190 Selenium Test added to test the creation and removal of a user with all privileges 2013-02-22 12:23:51 +05:30
Michal Čihař
885a5711aa Merge pull request #158 from scnakandala/Selenium_Refactor
Existing selenium tests refactored s that they work with the latest revi...
2013-02-19 23:56:50 -08:00
Supun Nakandala
baaefbe40e Indentation corrected 2013-02-16 10:16:44 +05:30
Michal Čihař
f9abb77686 Correctly test for PHP_OS detection 2013-02-13 09:27:05 +01:00
Michal Čihař
d64daa0cdb Include some possibly missing variables 2013-02-12 14:09:06 +01:00