Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Refactor CORS configuration

Open
#167 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
ruby
Domain
backend

Research direction

Start by locating the current CORS configuration and reading site.yml to understand how configuration is loaded. Compare the existing accepted-IP behavior with the requested host, allowed-host, and allowed-method structure. Done means CORS behavior is driven by site.yml rather than only accepted IP addresses, including URL patterns and methods.

Written by the indexing model from the issue text.

Description

enhancement lowprio security

Make cors configuration based on site.yml, not just accepted IP addresses, but also url patterns etc

- host
  - allowed hosts
    -  host1
    -  host2
    -  ...
  - allowed methods
    - GET
    - POST
    - ...
``
Dominant language
Ruby
Stars
51
Forks
42
Avg merge
1h 27m
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from testmycode/tmc-server

All issues in testmycode/tmc-server

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.