Closed dew326 closed 4 years ago
@dew326 I can confirm that this fixes my issue https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/issues/384.
Thanks a lot for the fast fix :+1: :rocket:
Hi @tobias-93, could you take a look?
Hi @dew326, thanks for the contribution! Hopefully this solves all host+port issues, but if any pops up let me know.
Has this fixed been released? I am having this issue with v3.1.1...
Hi @Lampelk,
Sorry you're experiencing issues. This PR has been merged and released a long time ago, so I doubt you have the same issue. Please make a Github issue with a description of your problem so we can have a look.
Regards, Tobias
Fixed issue https://github.com/FriendsOfSymfony/FOSJsRoutingBundle/issues/384
Turns out, the check if the host contains a port cannot be done in one place. Each case has to check port on different base
host
orthis.getHost()
.