endojs / endo

Endo is a distributed secure JavaScript sandbox, based on SES
Apache License 2.0
788 stars 70 forks source link

daemon: Consider locator format #2167

Open rekmarks opened 4 months ago

rekmarks commented 4 months ago

As of #2160, the endo locator format is:

endo://{nodeIdentifier}/?id={formulaNumber}&type={formulaType}

We are not committed to this format. Another approach would be:

endo://{formulaNumber}.{nodeIdentifier}?type={formulaType}

In this format, if we change the encoding of the domains to something denser than hexadecimal, it would have the virtue of fitting the formula number and node identifier in the host component of the URL. The formula number is probably more suitable as a domain than a query parameter, considering that formulas are—much like bar.foo and baz.foo—distinct worlds unto themselves.