cgaspard / mantiskanban

Mantis Kanban that uses ajax and mantisconnect
45 stars 33 forks source link

Bug fix of Issue #51. Hosting Mantis on HTTPS. #52

Closed kjean667 closed 7 years ago

kjean667 commented 8 years ago

Bug fix of Issue #51. Hosting Mantis on HTTPS gave wrong href links in edit view.

When hosting Mantis on a HTTPS server and configuring the ServerHostName in config.js as Mantis.ServerHostname = "https://my.host/mantis", the title link into Mantis for an issue shown in the "View Issue" right side popup are wrong.

The edit-story-title HTML item will show a faulty href to "https//my.host/mantis" (tested in Firefox).

This fix removes the "http://" from target since it is specified by the Mantis.ServerHostname .