testmycode / testmycode/tmc-server

Refactor CORS configuration

Offen
#167 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

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

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Ö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

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.