مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-11-30 21:32:30 +00:00
style(rubocop): Security/YAMLLoad
هذا الالتزام موجود في:
@@ -7,7 +7,7 @@ describe Postal::DKIMHeader do
|
||||
Dir[examples].each do |path|
|
||||
contents = File.read(path)
|
||||
frontmatter, email = contents.split(/^---\n/m, 2)
|
||||
frontmatter = YAML.load(frontmatter)
|
||||
frontmatter = YAML.safe_load(frontmatter)
|
||||
email.strip
|
||||
it "works with #{path.split('/').last}" do
|
||||
mocked_time = Time.at(frontmatter["time"].to_i)
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم