I think the following regex should be modified to ^(.+)-[[:xdigit:]]{2}-([[:xdigit:]]{32})-([[:xdigit:]]{16})-([[:xdigit:]]{2})$:
https://github.com/tinkerbell/boots-ipxe/blob/e9e36bd85356785cfeaf9e2f340d5a751f5b1708/tftp/tftp.go#L123
I'm also curious, is there a reason for not using a query string alike syntax? for example, filename?traceparent=xxx?