Skip to content
This repository was archived by the owner on Jun 18, 2020. It is now read-only.
This repository was archived by the owner on Jun 18, 2020. It is now read-only.

Redirection doesn't work when logged in #76

@gvol

Description

@gvol

If you are logged in and open a URL like

http://localhost:8080/?next=http%3A%2F%2Flocalhost%3A8080%2Fupload_worksheet%3Furl%3Dfile%3A%2F%2F%2FUsers%2Fgvol%2FSageStuff%2FGAP%2520test.sws 

then it will simply redirect to the "home page" i.e. http://localhost:8080/home/admin/ instead of the ?next= page, in this case uploading a sws file.

This causes problems when starting a server and uploading a file at the same time since there is a race condition in which login can happen too late for the page itself to work, and too early for the ?next= page to work. See comments on issue #31.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions