Comments (11)
@kowh-ai if you have time are you able to reproduce this?
from ckan.
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.
401 Forbidden
seems to have the same issue, as discovered in ckan/ckanext-harvest#522.
from ckan.
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.
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.
@FuhuXia you've reported this against 2.10, did you try with 2.10.4?
from ckan.
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.
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.
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.
@wardi
Confirmed. 8787542 fixed this issue.
from ckan.
Great, thanks @FuhuXia I've marked it for backporting
from ckan.
Related Issues (20)
- After upgrading the ckan version, Page View Tracking cannot continue to be updated HOT 1
- performance improvements: start-up time
- Sending password reset link to multiple accounts with the same email address does not work
- resource_proxy and data views / visualisation without using DataStore
- Custom IAuthenticator in Ckan 2.10.4 HOT 2
- _dict_save create or update instead of upsert
- Theming - Adding CSS files using Webassets not working HOT 2
- missing ckan db create-from-model
- alembic revision --autogenerate
- PluginNotFoundException - missing external extensions
- `package_owner_org_update` does not remove resources from old organization (in database?) HOT 4
- Markdown formatting is not translated into the selected locale other than English HOT 1
- Plural strings for single form languages are not displayed correctly when using a plugin with ITranslation HOT 2
- License Schema Needed(?) HOT 1
- Faster extras
- No organization or group listed in user organization/group tab
- CKAN just won't work HOT 1
- SSL Ngnix doesn't works
- postgres 12
- Extensions support for CKAN 2.11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ckan.