jenkinsci / jenkinsci/java-client-api

BuildWithDetails.streamConsoleOutput() should also offer a way to pass the boolean parameter "crumbFlag"

Aperta
#350 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
913
Fork
466
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Similar to other API calls the streamConsoleOutput() method in the BuildWithDetails class should offer a way to pass the boolean parameter "crumbFlag" to avoid issues with XSS.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by locating the BuildWithDetails.streamConsoleOutput() entry point and compare it with the other API calls that accept crumbFlag. Confirm how the boolean is passed and how it prevents the reported XSS issue; the work is done when callers can provide crumbFlag consistently with those APIs.

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

Valutazione

Stack tecnologico
java
Ambito
api, security
Tipo di issue
Funzionalità
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
38/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.