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

Apache apparently rewrites url params #294

Open
MortenHofft opened this issue Jun 21, 2024 · 3 comments
Open

Apache apparently rewrites url params #294

MortenHofft opened this issue Jun 21, 2024 · 3 comments
Assignees
Labels
Type: Bug Something isn't working

Comments

@MortenHofft
Copy link
Member

Apache seem to rewrite the url when doings its redirects - notice that the geometry parameter is changed

REQUEST
https://hp-theme.gbif-staging.org/occurrence/search/?layout=W1t7ImlkIjoiN2toZmUiLCJwIjp7ImgiOjQ5N30sInRyYW5zbGF0aW9uIjoic2VhcmNoLnRhYnMudGFibGUiLCJyIjp0cnVlLCJ0IjoidGFibGUifSx7ImlkIjoieHV3anIiLCJwIjp7ImgiOjY1M30sInRyYW5zbGF0aW9uIjoic2VhcmNoLnRhYnMuZ2FsbGVyeSIsInIiOnRydWUsInQiOiJnYWxsZXJ5In1dLFt7ImlkIjoiZWJmMm8iLCJwIjp7ImgiOjQ5N30sInRyYW5zbGF0aW9uIjoic2VhcmNoLnRhYnMubWFwIiwiciI6dHJ1ZSwidCI6Im1hcCJ9LHsiaWQiOiJoYjBzNCIsInAiOnt9LCJ0cmFuc2xhdGlvbiI6ImRhc2hib2FyZC50YXhhIiwidCI6InRheGEifV1d&view=DASHBOARD&geometry=POLYGON((12.4271522%2055.6346833%2C%2012.6271522%2055.6346833%2C%2012.6271522%2055.7546833%2C%2012.4271522%2055.7546833%2C%2012.4271522%2055.6346833))
Status Code: 302 Found

RESPONSE
Location:
https://hp-theme.gbif-staging.org/occurrence/search?layout=W1t7ImlkIjoiN2toZmUiLCJwIjp7ImgiOjQ5N30sInRyYW5zbGF0aW9uIjoic2VhcmNoLnRhYnMudGFibGUiLCJyIjp0cnVlLCJ0IjoidGFibGUifSx7ImlkIjoieHV3anIiLCJwIjp7ImgiOjY1M30sInRyYW5zbGF0aW9uIjoic2VhcmNoLnRhYnMuZ2FsbGVyeSIsInIiOnRydWUsInQiOiJnYWxsZXJ5In1dLFt7ImlkIjoiZWJmMm8iLCJwIjp7ImgiOjQ5N30sInRyYW5zbGF0aW9uIjoic2VhcmNoLnRhYnMubWFwIiwiciI6dHJ1ZSwidCI6Im1hcCJ9LHsiaWQiOiJoYjBzNCIsInAiOnt9LCJ0cmFuc2xhdGlvbiI6ImRhc2hib2FyZC50YXhhIiwidCI6InRheGEifV1d&view=DASHBOARD&geometry=POLYGON((12.4271522%252055.6346833%252C%252012.6271522%252055.6346833%252C%252012.6271522%252055.7546833%252C%252012.4271522%252055.7546833%252C%252012.4271522%252055.6346833))
Server: Apache/2.4.6 (CentOS)


@MortenHofft MortenHofft added the Type: Bug Something isn't working label Jun 21, 2024
@MattBlissett
Copy link
Member

This appears to be fixed in a newer version of Apache.

Does https://hp-theme.gbif-uat.org/ (and anything else you wish to check) look OK on gbif-uat.org? If so, I can rebuild the staging and prod servers with the new Apache.

@MortenHofft
Copy link
Member Author

looks fine, but it is another branch running there so hard to tell for sure. could we start with staging?

@MattBlissett
Copy link
Member

Staging is now rebuilt with the newer Apache server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants