View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0021809 | mantisbt | authentication | public | 2016-10-19 08:13 | 2016-10-30 03:38 |
Reporter | nebjanim | Assigned To | atrol | ||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | 1.3.2 | ||||
Summary | 0021809: Password reset email text includes addtional characters which prevent the included link from functioning | ||||
Description | Here is an example for this issue in German and English: 1. 2. | ||||
Steps To Reproduce |
| ||||
Additional Information | Please do not hesitate to contact me if you have any further questions. | ||||
Tags | No tags attached. | ||||
Attached Files | config_inc.php (7,023 bytes)
<?php # MantisBT - A PHP based bugtracking system # MantisBT is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # MantisBT is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with MantisBT. If not, see <http://www.gnu.org/licenses/>. /** * @package MantisBT * @copyright Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org * @copyright Copyright (C) 2002 MantisBT Team - mantisbt-dev@lists.sourceforge.net * @link http://www.mantisbt.org */ # This sample file contains the essential files that you MUST # configure to your specific settings. You may override settings # from config_defaults_inc.php by uncommenting the config option # and setting its value in this file. # Rename this file to config_inc.php after configuration. # In general the value OFF means the feature is disabled and ON means the # feature is enabled. Any other cases will have an explanation. # Look in http://www.mantisbt.org/docs/ or config_defaults_inc.php for more # detailed comments. # --- Database Configuration --- $g_hostname = ***** deleted $g_db_username = ***** deleted $g_db_password = ***** deleted $g_database_name = ***** deleted $g_db_type = ***** deleted # --- Security --- $g_crypto_master_salt = ***** deleted # --- Anonymous Access / Signup --- $g_allow_signup = ON; $g_allow_anonymous_login = OFF; $g_anonymous_account = 'Anonym'; # --- Email Configuration --- $g_phpMailer_method = PHPMAILER_METHOD_MAIL; # or PHPMAILER_METHOD_SMTP, PHPMAILER_METHOD_SENDMAIL $g_smtp_host = ***** deleted $g_smtp_username = ***** deleted $g_smtp_password = ***** deleted $g_webmaster_email = ***** deleted $g_from_email = ***** deleted $g_return_path_email = ***** deleted $g_from_name = 'Bug Tracker'; $g_email_receive_own = ON; # $g_email_send_using_cronjob = OFF; # --- Attachments / File Uploads --- $g_allow_file_upload = ON; $g_file_upload_method = DISK; $g_absolute_path_default_upload_folder = '/l1/mantis/'; $g_max_file_size = 5000000; # in bytes $g_preview_attachments_inline_max_size = 256 * 1024; # $g_allowed_files = ''; # extensions comma separated, e.g. 'php,html,java,exe,pl' # $g_disallowed_files = ''; # extensions comma separated # --- Branding --- $g_window_title = 'MantisBT'; $g_logo_image = ***** deleted # --- Real names --- $g_show_realname = ON; $g_show_user_realname_threshold = REPORTER; # Set to access level (e.g. VIEWER, REPORTER, DEVELOPER, MANAGER, etc) # --- Others --- # $g_default_home_page = 'my_view_page.php'; # Set to name of page to go to after login $g_enable_email_notification = ON; $g_show_product_version = ON; $g_summary_category_include_project = ON; $g_enable_profiles = OFF; $g_signup_use_captcha = OFF; $g_view_summary_threshold = UPDATER; $g_tag_create_threshold = REPORTER; $g_tag_detach_threshold = REPORTER; $g_tag_edit_threshold = REPORTER; $g_tag_edit_own_threshold = REPORTER; $g_tag_attach_threshold = REPORTER; $g_tag_detach_own_threshold = REPORTER; $g_show_user_email_threshold = REPORTER; $g_create_permalink_threshold = REPORTER; $g_create_short_url = ''; $g_email_ensure_unique = OFF; $g_limit_email_domain = ***** deleted $t_protocol = 'http'; $t_host = 'ls1'; # --- Wiki Settings --- $g_wiki_enable = ON; $g_wiki_engine = 'dokuwiki'; $g_wiki_root_namespace = 'mantis'; $g_wiki_engine_url = $t_protocol . '://' . $t_host . '/dokuwiki/'; # --- Customization --- $g_default_language = 'german'; $g_fallback_language = 'german'; date_default_timezone_set('Europe/Berlin'); $g_show_priority_text = ON; $g_bug_report_page_fields = array( 'category_id', 'handler', 'priority', 'severity', 'reproducibility', 'product_version', 'product_build', 'summary', 'description', 'steps_to_reproduce', 'attachments', 'due_date', ); $g_bug_view_page_fields = array ( 'id', 'project', 'category_id', 'view_state', 'date_submitted', 'last_updated', 'reporter', 'handler', 'priority', 'severity', 'reproducibility', 'status', 'resolution', 'projection', 'eta', 'product_version', 'product_build', 'fixed_in_version', 'summary', 'description', 'steps_to_reproduce', 'tags', 'attachments', 'due_date', ); $g_bug_print_page_fields = array ( 'id', 'project', 'category_id', 'view_state', 'date_submitted', 'last_updated', 'reporter', 'handler', 'priority', 'severity', 'reproducibility', 'status', 'resolution', 'projection', 'eta', 'product_version', 'product_build', 'fixed_in_version', 'summary', 'description', 'steps_to_reproduce', 'tags', 'attachments', 'due_date', ); $g_bug_update_page_fields = array ( 'id', 'project', 'category_id', 'view_state', 'date_submitted', 'last_updated', 'reporter', 'handler', 'priority', 'severity', 'reproducibility', 'status', 'resolution', 'projection', 'eta', 'product_version', 'product_build', 'fixed_in_version', 'summary', 'description', 'steps_to_reproduce', 'attachments', 'due_date', ); $g_bug_change_status_page_fields = array ( 'id', 'project', 'category_id', 'view_state', 'date_submitted', 'last_updated', 'reporter', 'handler', 'priority', 'severity', 'reproducibility', 'status', 'resolution', 'projection', 'eta', 'product_version', 'product_build', 'fixed_in_version', 'summary', 'description', 'additional_info', 'steps_to_reproduce', 'tags', 'attachments', 'due_date', ); $g_severity_enum_string = '20:function,40:tweak,50:minor,60:major,70:crash,90:injury'; # neuer deutscher String definiert in custom_strings_inc.php define( 'INJURY', 90 ); define( 'function', 90 ); $g_reproducibility_enum_string = '10:always,30:sometimes,50:random,70:have not tried,90:unable to duplicate'; $g_priority_enum_string = '20:low,30:normal,40:high,50:urgent,60:immediate'; $g_resolution_enum_string = '10:open,20:fixed,30:reopened,40:unable to duplicate,50:not fixable,60:duplicate,70:not a bug,80:test suspended,85:test not possible,90:wont fix'; $g_severity_multipliers = array( TRIVIAL => 2, TEXT => 3, TWEAK => 2, MINOR => 5, MAJOR => 8, CRASH => 8, BLOCK => 10, INJURY => 10); $g_view_filters = ADVANCED_ONLY; ?> | ||||
Steps for reproduction: Upgrade from 1.2.18 to 1.3.2 is meant. |
|
nebjanim, I was not able to reproduce your problem with a fresh install of 1.3.2.
BTW, settings like $g_smtp_password are useless, you can remove them as you have set $g_phpMailer_method = PHPMAILER_METHOD_MAIL |
|
atrol, I've already checked if the issue also occurs on your system. But everything was fine there. config_inc.php: as attached code changes: very few changes directly in html sections to add/change displayed text. php: PHP 5.3.5 (cli) database: mysql Ver 14.14 Distrib 5.1.71, for suse-linux-gnu (i686) using readline 6.1 linux: openSUSE 11.4 "Celadon" - Kernel \r (\l). |
|
Do I understand right, that your password reset email text is fine when setting $g_phpMailer_method = PHPMAILER_METHOD_SMTP; ? If so, we can close this issue. |
|
Yes, that is correct. Thanks again for your help. |
|