In the ModifyContentHtml subscriber, UrlGenerator is resolved during the extension booting sequence, preventing any more extension from registering routes. This means all routes defined by extensions enabled after secure-https will return 404 errors.
https://github.com/FriendsOfFlarum/secure-https/blob/9b0734a41d06a314c5c59f40f6a2048473a90900/src/Listeners/ModifyContentHtml.php#L35
In the
ModifyContentHtml
subscriber,UrlGenerator
is resolved during the extensionbooting
sequence, preventing any more extension from registering routes. This means all routes defined by extensions enabled after secure-https will return 404 errors.