Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keypair signing does not work when rebasing URL #1206

Closed
specialcircumstances opened this issue May 19, 2017 · 0 comments
Closed

Keypair signing does not work when rebasing URL #1206

specialcircumstances opened this issue May 19, 2017 · 0 comments
Labels
type: bug A confirmed report of unexpected behavior in the application

Comments

@specialcircumstances
Copy link

specialcircumstances commented May 19, 2017

With some reference to: Keypair generation does not work when rebasing URL - Issue #840

Issue type: URI resolution

Python version: 2.7.5
NetBox version: 1.9.2

I have a couple of instances of Netbox running, and to seperate them I rebase them behind nginx locations and use BASE_PATH = 'instancexx/'
e.g.
/opt/netbox/instance/instance01 ->> mynetboxserver/instance01
/opt/netbox/instance/instance01 ->> mynetboxserver/instance02

Similarly to issue #840 when signing a user key, after submitting the administrators private key, I would expect the URL to be:

https://mynetboxserver/instance01/admin/secrets/userkey/

but the request is for:

https://mynetboxserver/admin/secrets/userkey/

which of course does not work.

@jeremystretch jeremystretch added the type: bug A confirmed report of unexpected behavior in the application label May 19, 2017
lampwins pushed a commit to lampwins/netbox that referenced this issue Oct 13, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants