View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009267 | mantisbt | plug-ins | public | 2008-06-15 11:54 | 2008-08-11 09:41 |
Reporter | Blue Ninja | Assigned To | jreese | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | git trunk | ||||
Fixed in Version | 1.2.0a2 | ||||
Summary | 0009267: URL for updating plugin settings is wrong. | ||||
Description | The "Update Configuratin" button when changing plugin settings points to the incorrect URL, for both the FAQ and Formatting plugins on my installation. The URL used is: http://www.mywebsite.com/tracker//tracker/plugin.php?page=MantisCoreFormatting/config The correct URL is: http://www.mywebsite.com/tracker/plugin.php?page=MantisCoreFormatting/config | ||||
Tags | No tags attached. | ||||
Just as a test, can you try setting $g_short_path = '/tracker/' in your config_inc.php and see if this still occurs? I believe this is related to bugs 0009266 and 0009043 because of the way that Mantis attempts to determine a relative URL to work with external applications (like wikis) that use the Mantis header/footer calls. Unfortunately, with the way it's currently implemented, and URL rewriting by Apache, or filesystem symlinking on *nix hosts, can break this detection method, in which case setting $g_short_path manually will at least override the (incorrect) detected value. |
|
This did not seem to have any effect - other URLs in the tracker seem to still work fine (or at least I haven't noticed any incorrect ones), but the URL for updating plugin settings still seems identically wrong. |
|
Just set $g_short_path = '/tracker/' to $g_short_path = ""; Then it works as it should |
|
Nope, then I get: SYSTEM WARNING: strpos() [function.strpos]: Empty delimiter In the "Status" column of my view_all_bug_page. EDIT: This was due to construction of the URL to the assigned-to user. |
|
Thanks for the info Blue Ninja. Found a missing parameter in the core plugin that was generating a relative URL for the redirect when it shoudn't have, and that was getting tacked onto an absolute url... Fixed in SVN trunk, r5368. |
|
Ahh, interesting - works for that plugin, but not the FAQ plugin still. I figured it was common code for all plugins - I'll post a link here in Bug 0009261 for him to take care of there. Thanks! |
|
MantisBT: master 98b76019 2008-06-16 13:25 Details Diff |
Fixed bug 0009267: MantisCoreFormatting plugin did not use correct redirect url. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@5368 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
Affected Issues 0009267 |
|
mod - plugins/MantisCoreFormatting/pages/config_edit.php | Diff File |