Giter Club home page Giter Club logo

Comments (11)

wardi avatar wardi commented on September 23, 2024 1

@kowh-ai if you have time are you able to reproduce this?

from ckan.

jbrown-xentity avatar jbrown-xentity commented on September 23, 2024 1

It seems to be related to the fact that while site_url seems to be the defining standard by which things get redirected, in this code block it seems to be treating that config as a bystander and using other native flask and environment properties to redirect. Followed to this point from the 308 redirect.

from ckan.

FuhuXia avatar FuhuXia commented on September 23, 2024

401 Forbidden seems to have the same issue, as discovered in ckan/ckanext-harvest#522.

from ckan.

wardi avatar wardi commented on September 23, 2024

Hello @FuhuXia I've tested this against master and 2.10.4 but can't reproduce the issue. Is there any more information you could provide?

from ckan.

FuhuXia avatar FuhuXia commented on September 23, 2024

Thanks @wardi for addressing this. I built a fresh Ubuntu 22 on a Virtualbox, have docker engine installed, following the exact steps in the description, I can replicate this bug.

from ckan.

wardi avatar wardi commented on September 23, 2024

@FuhuXia you've reported this against 2.10, did you try with 2.10.4?

from ckan.

FuhuXia avatar FuhuXia commented on September 23, 2024

Yes, I meant 2.10.4, since https://github.com/ckan/ckan-docker master branch is using 2.10.4
https://github.com/ckan/ckan-docker/blob/cc095f1323a6dc81d49ae76c5c24bc1d9a1c0172/ckan/Dockerfile#L1

from ckan.

wardi avatar wardi commented on September 23, 2024

Thanks, @FuhuXia and @jbrown-xentity I can reproduce this with https://github.com/ckan/ckan-docker but not in my normal development environment, so you're probably right about it being sensitive to the environment.

from ckan.

wardi avatar wardi commented on September 23, 2024

It looks like this issue was fixed here on master: 8787542 but not backported to release versions. @FuhuXia would you confirm that this fixes the issue you're seeing and we'll get this backported to 2.10.5

from ckan.

FuhuXia avatar FuhuXia commented on September 23, 2024

@wardi
Confirmed. 8787542 fixed this issue.

from ckan.

wardi avatar wardi commented on September 23, 2024

Great, thanks @FuhuXia I've marked it for backporting

from ckan.

Related Issues (20)

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.