testmycode / testmycode/tmc-server
Refactor CORS configuration
Offen
Dieses Issue hat noch niemand übernommen.
enhancement
lowprio
security
- Vorherrschende Sprache
- Ruby
- Sterne
- 51
- Forks
- 42
- Ø Merge
- 1 Std. 27 Min.
- Gemergte PRs (30 T.)
- 1
Beschreibung
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
- ...
``
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- ruby
- Bereich
- backend
- Issue-Typ
- Refactoring
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 30/100