View Issue Details

IDProjectCategoryView StatusLast Update
0035627mantisbthtmlpublic2026-03-07 04:18
Reporterraspopov Assigned Tocommunity  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.27.1 
Target Version2.29.0Fixed in Version2.29.0 
Summary0035627: OpenSearch links cannot be disabled
Description

Every MantisBT page has an OpenSearch link tag, even if it is not desirable in the current configuration.

Steps To Reproduce

View the HMTL source of any page.

TagsNo tags attached.

Relationships

related to 0009749 closedvboctor Integrate the IE and Firefox search plugin into Mantis out-of-the-box 

Activities

raspopov

raspopov

2025-03-19 11:46

reporter   ~0070001

PR: https://github.com/mantisbt/mantisbt/pull/2126

raspopov

raspopov

2025-03-25 12:00

reporter   ~0070032

I think I have found a few more inconsistencies in the OpenSearch code. For example, the administrative check checks for 16 bytes instead of 16 characters in the search name, or there is insufficient checking of the type parameter when generating the OpenSearch xml file, etc...

raspopov

raspopov

2026-01-18 10:03

reporter   ~0070717

PR was rebased to 2.28.

Related Changesets

MantisBT: master a966d3a1

2026-02-08 11:31

raspopov

Committer: community


Details Diff
Add ability to disable OpenSearch

To disable the OpenSearch tag on every page, simply set $g_search_title
to an empty string.

Fixes 0035627, PR https://github.com/mantisbt/mantisbt/pull/2126
Affected Issues
0035627
mod - config_defaults_inc.php Diff File
mod - core/layout_api.php Diff File
mod - docbook/Admin_Guide/en-US/config/display.xml Diff File