Hi there. I’m currently working on mirroring the NPM registry and they have a route that looks like this:
/registry/-/user/org.couchdb.user:<user>
I tried creating a routes like these:
put "/registry/-/user/org.couchdb.user\::user", RegistryLoginController, :edit
put "/registry/-/user/org.couchdb.user\\::user", RegistryLoginController, :edit
put "/registry/-/user/org.couchdb.user%3A:user", RegistryLoginController, :edit
But to no avail. Is there a way to escape a : character in a route to not act as a variable?