bolkedebruin/rdpgw

Question regarding the name of the generated RDP Configuration

pierre42100 opened this issue · 0 comments

Hello,
I have question about the name of the generated RDP configurations. In the file cmd/rdpgw/web/web.go, the name of the generated file is fully random:

fn := hex.EncodeToString(seed) + ".rdp"
w.Header().Set("Content-Disposition", "attachment; filename="+fn)

Would it be possible to make it customizable, to integrate inside this generated name the name of the target host?

Thank you for your help,