Skip to content

fix:bug reading local files - #72

Open
water2027 wants to merge 1 commit into
lampnick:masterfrom
water2027:master
Open

water2027 wants to merge 1 commit into
lampnick:masterfrom
water2027:master

Conversation

@water2027

Copy link
Copy Markdown

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