still control on URL in email notification

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
sacmas
Posts: 1
Joined: 30 Aug 2016, 08:39

still control on URL in email notification

Post by sacmas »

Hi

I know it is an already covered subject but I could not find an answer to my issue.

My Mantis (1.2.19) is deployed and accessible internally via an internal URL and externally via a proxy and firewall.

If I set the g_path variable generally, then the internal calls are also rewritten to become external use.
If I set the g_path variable depending on the content of $_SERVER['REQUEST_URI'], then the internal calls trigger notification emails with internal URL.

I would like
-the internal calls to remain internal
-the external calls to remain external
-any notification email with external URL.

Is that possible?

Best regards,
Manu
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: still control on URL in email notification

Post by atrol »

I have no idea for a clean solution (e.g. plugin) at the moment.
The "dirty" method would be to change function string_get_bug_view_url_with_fqdn
Please use Search before posting and read the Manual
Post Reply