Giter Site home page Giter Site logo

globus-publish-dspace's People

Contributors

jackkordas avatar jimpruyne avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jackkordas

globus-publish-dspace's Issues

Improper Globus Auth redirect links

In some cases, such as item landing pages for protected (i.e not all readable) items, following a link to the item causes fault re-direct URL to be generated which Auth will throw back as invalid. See, for example, following report text:

Todd Trann, Dec 16, 14:45 CST:

For example, this works:
https://frdr-alpha.computecanada.ca/jspui/handle/ITEM/6

But this does not (as long as you are not logged in):
https://frdr-alpha.computecanada.ca/jspui/handle/ITEM/5

The difference in these two items is that item 5 is under embargo. We don't see anything useful in our logs to help us. Can you?

Thanks,
Todd

One cause of this is certainly the way that the redirect URL is getting generated. It is based on the URL of the HttpServletRequest object, but in cases where there are, for example, both http and https are supported (and auth requires https), this can results in a bad redirect URL if the http method was used to access the page. (note, this https example doesn't satisfy the requirement in the above message). None the less, moving to redirect based on the already defined dspace.url config parameter rather than the URL in the request seems like a good idea.

collection name validity checking

It's possible for collections to get created with no name, or all whitespace names, or probably other things that make working with the collection later harder. Add some validity checking on collection creation/update to avoid these situations.

webapp links

With the Globus WebApp changes, we need to update all the links that go out to Transfer and possibly the helper pages.

@blaiszik For your tracking purposes

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.