If you want to do that, you will need to explicitly change also the maas-enlist call in maas-enlist-udeb.postinst to use --wget.
Note, it doesn't seem like the url encoding is really useful in this case, and it is still possible to urlencode programmatically outside wget before passing the parameters. I chose not to, because the MAC address could be passed without encoding (received just fine with the ':').
If you want to do that, you will need to explicitly change also the maas-enlist call in maas-enlist- udeb.postinst to use --wget.
Note, it doesn't seem like the url encoding is really useful in this case, and it is still possible to urlencode programmatically outside wget before passing the parameters. I chose not to, because the MAC address could be passed without encoding (received just fine with the ':').