Author Topic: Bug: Hostname in Notification Service Email Links is 'localhost'  (Read 107 times)

silvershot

  • Jr. Member
  • **
  • Posts: 46
  • Karma: +3/-0
    • View Profile
URL where error occured: Email sent from Game (Gmail Webapp)
Criticality:Low, Annoyance
What is the Bug? The host name when sending links via email/M&F Notification Service is 'localhost', e.g. http://localhost/en/character/view/9732
How to Reproduce: Turn notification services on and receive an email.
Additional Comments: Should be a relatively easy fix, even if not especially important. It's definitely a nice to have in some circumstances


Andrew

  • Game Master / Lead Developer
  • Administrator
  • Sr. Member
  • *****
  • Posts: 1762
  • Karma: +75/-7
  • Mildly Amused
    • View Profile
    • Lemuria Community Fan Site
Re: Bug: Hostname in Notification Service Email Links is 'localhost'
« Reply #1 on: August 21, 2017, 04:26:21 PM »
Notes for me for later: Look into the MessageTranslateExtension referenced here: https://github.com/Zanaras/MaFCDR/blob/master/src/BM2/SiteBundle/EventListener/NotificationEventListener.php
Standing for the creation of interesting things since Year 1, Week 5, Day 4.
Favorite cold beverage: Strawberry Shake
My hobbies: Fixing computers, video games, anime, manga, some other stuff, sleep (in no particular order)