-
Notifications
You must be signed in to change notification settings - Fork 443
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update etreeutils.TransformExcC14n signature (#478)
* update etreeutils.TransformExcC14n signature The invocation does not match the current function signature: ``` github.com/crewjam/[email protected]/schema.go:767:41: not enough arguments in call to etreeutils.TransformExcC14n | have (*etree.Element, string) | want (*etree.Element, string, bool) ``` * Update go.mod * upgrade to github.com/russellhaering/goxmldsig v1.2.0 * update go.sum * update github.com/russellhaering/goxmldsig * upgrade to github.com/russellhaering/goxmldsig v1.2.0
- Loading branch information
Showing
4 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -771,7 +771,7 @@ func TestSPRejectsInjectedComment(t *testing.T) { | |
// it *MUST NOT* validate | ||
{ | ||
x, _ := base64.StdEncoding.DecodeString(string(SamlResponse)) | ||
y := strings.Replace(string(x), "[email protected]", "[email protected]<!-- and a comment -->.example.com", 1) | ||
y := strings.Replace(string(x), "ross@<!-- and a comment -->octolabs.io", "[email protected]<!-- and a comment -->.example.com", 1) | ||
SamlResponse = []byte(base64.StdEncoding.EncodeToString([]byte(y))) | ||
|
||
req := http.Request{PostForm: url.Values{}} | ||
|