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

fix: Add MustPutInputFile function #143

Closed
wants to merge 6 commits into from
Closed

Conversation

qianxi66
Copy link
Contributor

检测上传的inputfile换行符格式是否符合要求。

  1. 将所有 '\r\n' 替换为 '\n'
  2. 如果文件结尾的最后一个字符不是 '\n', 加一个
  3. 通过增加sanitize变量作为开关控制这个行为

@qianxi66 qianxi66 closed this Nov 6, 2024
@qianxi66 qianxi66 deleted the dev2 branch November 6, 2024 09:04
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