Skip to content

Conversation

rsmithlal
Copy link
Member

Summary

  • sanitize CSS block content using a whitelisted property list while preserving media queries
  • render CSS block only when sanitized content remains
  • add view tests verifying disallowed rules are stripped, media queries remain, or blocks are rejected entirely

Testing

  • bundle exec rubocop (fails: command not found: rubocop)
  • bundle exec bundler-audit --update (fails: command not found: bundler-audit)
  • bundle exec brakeman -q -w2 (fails: command not found: brakeman)
  • bin/codex_style_guard (fails: command not found: rubocop)
  • DATABASE_URL=postgis://postgres@localhost/community_engine_test bin/ci (fails: command not found: rails)

https://chatgpt.com/codex/tasks/task_e_689b6840c7908321bc0d5d573b0b2a48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant