Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

URLs are inconsistent

Aperta
#322 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
html
Ambito
web-dev

Direzione di ricerca

Inizia individuando gli attributi href degli anchor e le voci di index.json che fanno riferimento agli oggetti ATT&CK. Normalizza gli URL equivalenti nel formato con barra finale e senza index.html, quindi verifica che i link e i risultati della ricerca degli oggetti continuino a puntare alle stesse pagine.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug Points: 5 timescale/long-term
  • Problem

URLs to the same technique, software, mitigation, or group page are inconsistent.

  • Detail

URLs to the same object are inconsistent. For example,

  1. /techniques/T1595/ (in href attributes in anchor tags)
  2. /techniques/T1595/index.html (in index.json used in ATT&CK object search)

Both URLs lead us to the same object (the same web content).
There are many incosistent URL expressions in ATT&CK, such as the example above.

If there is no reason, I would like to suggest unifying the them into a single URL format as shown in the solution section below.

  • Solution

I would go for something like "/techniques/T1595/" with "/" and without "index.html" at the end.
That is what you get when you click the links in the ATT&CK pages.
As for 'without "index.html"', the ATT&CK pages are currently static,
but they might be generated dynamically in the future.
It would be safe not to specify "index.html", to be prepared for dynamic HTML generation.

  • Additional improvement

Not in this repo, but ATT&CK STIX 2 JSON file has URLs like "/technique/T1595" in its external_references.
I believe that they should be consistent with URLs in this repo.
When the standard is set, I will raise an issue for the ATT&CK STIX 2 JSON file.

Lingua principale
HTML
Stelle
590
Fork
174
Merge medio
1g 11h
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mitre-attack/attack-website

Tutte le issue di mitre-attack/attack-website

Issue simili

Altre issue su Web Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.