Changeset 329806
- Timestamp:
- 01/07/2011 05:12:51 PM (15 years ago)
- Location:
- wp-mantis/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
wp-mantis.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-mantis/trunk/readme.txt
r300436 r329806 3 3 Tags: mantis, bug tracker, changelog, roadmap 4 4 Requires at least: 2.8 5 Tested up to: 3.0. 16 Stable tag: 1.2. 05 Tested up to: 3.0.4 6 Stable tag: 1.2.1 7 7 8 8 Extended Version of "WP Mantis Table". Allows to view Changelogs, Roadmaps and Buglists from MantisBT … … 99 99 == Changelog == 100 100 101 = 1.2.1 = 102 * Bugfix: Ampersand (&) in the username or password would cause errors. 103 101 104 = 1.2 = 102 105 * Addet `include_stat` parameter. It´s the oposite to exclude_stat -
wp-mantis/trunk/wp-mantis.php
r300436 r329806 385 385 } 386 386 387 //Encode username and password, since they could contain an & (or other 'bad' chars) 388 $mantis_user = urlencode($mantis_user); 389 $mantis_password = urlencode($mantis_password); 390 387 391 //Select the correct URL 388 392 $http_body = "username=$mantis_user&password=$mantis_password&perm_login=0&secure_session=1&return="; … … 403 407 404 408 $return_url = substr($return_url, 0, -1); //remove last & 405 $http_body .= urlencode($return_url); 409 $http_body .= urlencode($return_url); //return url contains & 406 410 407 411 $fetch_url = $mantis_base_url . 'login.php'; //The url of the login.php, wich will handle the redirecting stuff
Note: See TracChangeset
for help on using the changeset viewer.