[SOLVED] Twig base_url() returns port 80 when used over HTTPS connection

I guess it would but it must not be done. Changing the code of an external library or any kind of dependency mustn’t be done as it would be overridden when you update these dependencies.