View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003974 | mantisbt | feature | public | 2004-06-28 06:10 | 2004-07-18 11:34 |
Reporter | vboctor | Assigned To | int2str | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Fixed in Version | 0.19.0a2 | ||||
Summary | 0003974: Make Mantis issues searchable by Search Engine | ||||
Description | For installations that support anonymous login, it would be nice if search engine are allowed to index the pages same like articles on training sites are indexed by the search engines. | ||||
Tags | No tags attached. | ||||
I simulated the behaviour of the search engine by disabling the cookie support in the browser. Originally, the View Issues page went into an infinite loop when visited. The reason is that the page re-directs to view_all_set if the cookie value is invalid. view_all_set then re-directs back to the view issues page. Disabling the re-direct will continue the flow and hence the filter_get_rows() will be called and return a non-filtered result set which is what is required. However, this may cause other problems in the cases where cookies exist but are really invalid. check to see if the cookie does not existif ( !filter_is_cookie_valid() ) { The main page always worked, the bug view pages gave me access denied once, then worked without a problem. |
|
Reminder sent to Narcissus Narcissus, what do you recommend for fixing this issue? The idea is to allow search engines to crawl as much of Mantis as possible and hence people will be able to reach the issues directly from the search engines. |
|
As you said, Victor: I've removed the various redirect-if-cookie-invalid calls, since an invalid cookie is really not a bad thing. Just assume defaults if the cookie is not valid. If a cookie is invalid, it will be set again if the user attempts any change (to the filter for example). The necessary changes are checked in, and so far it works well. |
|