Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html: EscapeString panic #60280

Closed
qiannianshaonian opened this issue May 18, 2023 · 4 comments
Closed

html: EscapeString panic #60280

qiannianshaonian opened this issue May 18, 2023 · 4 comments
Labels
WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@qiannianshaonian
Copy link

go version is v1.19.5

panic: runtime error: index out of range [102] with length 102
goroutine 61748698 [running]:
strings.(*byteStringReplacer).Replace(0xc000577980, {0xc00c486000, 0x5e})
/usr/local/go/src/strings/replace.go:534 +0x197
strings.(*Replacer).Replace(0x11bd680?, {0xc00c486000?, 0x13cec54?})
/usr/local/go/src/strings/replace.go:97 +0x6e
html.EscapeString(...)
/usr/local/go/src/html/escape.go:179

@mitar
Copy link
Contributor

mitar commented May 18, 2023

And what is the input to the call? Can you provide a reproduction?

@mvdan
Copy link
Member

mvdan commented May 18, 2023

Fill the bug template please.

@mvdan mvdan added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label May 18, 2023
@dmitshur dmitshur changed the title html.EscapeString panic html: EscapeString panic May 19, 2023
@qiannianshaonian
Copy link
Author

And what is the input to the call? Can you provide a reproduction?

Please wait
the captured exception data has been added.
If any exceptions occur later,
relevant information will be provided

@seankhliao seankhliao added WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. and removed WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. labels May 19, 2023
@gopherbot
Copy link

Timed out in state WaitingForInfo. Closing.

(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)

@gopherbot gopherbot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

5 participants