Skip to content

Conversation

water2027
Copy link

when you get http://localhost:8080/convert/html2pdf?u=doctron&p=lampnick&url=https://www.baidu.com&url=file:///etc/hosts, you can get your local file

CheckParamscheck the first url but decoder.Decode(requestDTO, ctx.Request().URL.Query()) use the last url

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant