this makes it impossible to use with the standalone controller over http.
Guide contributeur
Stack technique
javascriptnodejs
Domaine
apibackend
Type d'issue
bug
DifficultéDifficulté estimée pour un nouveau contributeur, de 1 pour un très petit changement à 5 pour un travail expert.
2
Temps estiméFourchette de temps approximative pour investiguer, implémenter, tester et préparer une pull request.
under 1 hour
Statut d'activitéDisponibilité apparente de l'issue : fraîche, active, ancienne, bloquée ou en attente d'un mainteneur.
stale
ClartéClarté avec laquelle l'issue explique le changement attendu, les critères d'acceptation et la prochaine étape.
mostly clear
Prérequis
Basic JavaScriptUnderstanding of HTTP/HTTPS
Accessibilité débutantScore de 1 à 100 estimant l'accessibilité de cette issue pour un premier contributeur.
75
Direction de recherche
The issue is in the file core/routemgmt/common/apigw utils.js at line 608, where the URL is hardcoded to use 'https'. The fix involves using the request's protocol (e.g., req.protocol) or a configuration option to determine whether to use 'http' or 'https'. Check if there are any other places in the same file with similar hardcoded URLs and update them accordingly. No pull requests or comments exist yet, so the fix can be submitted directly.