Content-Security-Policy
Open
Nobody has claimed this yet.
💻 ui
🔨 enhancement
- Dominant language
- Go
- Stars
- 47.8k
- Forks
- 5.1k
- Avg merge
- 7h 23m
- Merged PRs (30d)
- 5
Description
There seems to be a bunch of inline scripts or style rules such as this that don't play nice with CSP. These should be replaced by a CSS class.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with templates/repo/settings/hook_settings.tmpl at the linked line, then search the templates for the other inline scripts or style rules that conflict with CSP. Replace the identified inline styling with CSS classes and verify that the affected hook settings pages remain usable under CSP.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- frontend, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100