Skip to content

Commit

Permalink
use html/template instead of text/template to avoid inyections (#3984)
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Turrado <[email protected]>

Signed-off-by: Jorge Turrado <[email protected]>
  • Loading branch information
JorTurFer authored Dec 8, 2022
1 parent b37e98b commit 57da830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scalers/activemq_scaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import (
"encoding/json"
"errors"
"fmt"
"html/template"
"net/http"
"net/url"
"strconv"
"strings"
"text/template"

"github.com/go-logr/logr"
v2 "k8s.io/api/autoscaling/v2"
Expand Down

0 comments on commit 57da830

Please sign in to comment.