Seems that the prepare endpoint is run twice when following the standard flow in the GUI.
Replicate by making new dataset, adding files, then press next. In terminal we see
"POST /api/dataset/prepare HTTP/1.1" 200 etc, followed by the wordlist data printed twice.
Perhaps the Next button is calling the endpoint, as well as the lifecycle event of the wordlist page?
Seems that the prepare endpoint is run twice when following the standard flow in the GUI.
Replicate by making new dataset, adding files, then press next. In terminal we see "POST /api/dataset/prepare HTTP/1.1" 200 etc, followed by the wordlist data printed twice.
Perhaps the Next button is calling the endpoint, as well as the lifecycle event of the wordlist page?