Comments (5)
curl equivalent to failing Safari request:
curl 'https://underlap.org/tag:WriteFreely' \
-X 'GET' \
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'Sec-Fetch-Dest: document' \
-H 'Accept-Language: en-GB,en;q=0.9' \
-H 'Sec-Fetch-Mode: navigate' \
-H 'Host: underlap.org' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 Edg/110.0.1587.41' \
-H 'Referer: https://underlap.org/' \
-H 'Accept-Encoding: gzip, deflate, br' \
-H 'Connection: keep-alive'
The above can be reduced to the following, which still fails:
curl https://underlap.org/tag:WriteFreely
curl equivalent to successful Firefox request (cookie data redacted):
curl 'https://underlap.org/tag:WriteFreely' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0' \
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' \
-H 'Accept-Language: en-US,en;q=0.5' \
-H 'Accept-Encoding: gzip, deflate, br' \
-H 'Connection: keep-alive' \
-H 'Referer: https://underlap.org/tag:WriteFreely' \
-H 'Cookie: wfu=...' \
-H 'Upgrade-Insecure-Requests: 1' \
-H 'Sec-Fetch-Dest: document' \
-H 'Sec-Fetch-Mode: navigate' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'Sec-Fetch-User: ?1' \
-H 'Sec-GPC: 1' \
-H 'TE: trailers'
The above can be reduced to the following, which still succeeds:
curl 'https://underlap.org/tag:WriteFreely' \
-H 'Cookie: wfu=MTcwMTQ0MzE1MXxfUFBmZW5MMlk1WkZMS2dZaW1xTHZhSnpxR0lKZFBDRGhZMWVaM3c4Uld1Vi04Z1RmNm9YUmdKdUpoakFSNXdkS19wWHNuNTdqbHpSdEpvWUdWSUlnLW05cGlRb01JZkNuQjJUTExhMmpMdUpQMURDdm9jN0s4NFFqTzZJOFdZa3VmbWNFeEFoN3VCOGtvM25MZlcwS2EzWlpJZjB4ZmZrZ1RlcHU3VnBjTks4VG02NzFSM1Y1WC1KX1ZwcmRKSUJ4dWpBX2c0eGY5cEU4UTNST0t2ZzdPaVpRSjNnNnJZWXU3Y21wYUtPWG1EeDRsQ3p5RlczbzlSdFdZRGtqZTc0Z0x0WDRmUnM1dWM2WXFlRnJEczdseHhhNTBTcC1vNHFNdy1TTUo2MGxENHFYLWNSckdZcDdsYVVhVUhtVmFsbDhWdFcxLUliblI3QTlOcndEa0FmYjd0Y2dpWDd2OUxRWDRaTGU4bVVkVXZqeVAybTBpWUVIN3NMTmVQVllocFBQbUxQVi10Y2NxQnE4MURXZHZHby1TbnlWbjZfeHdyWnU4anlTa212RmRqOG9uRFFkaHlCNVNmSl9udWNCVjR4eG5BOF90WkVCVzUyNWR1cVNtRTV2UkJ4VkxqYVFBPT18GyOUN-fem3hEU3DR_Cd0A8AwoDEfseW1-m-fjg-o0oc='
Removing the cookie header from this curl causes the request to fail.
Based on this, I was able to reproduce the problem using a new private window in Firefox and entering the URL https://underlap.org/tag:WriteFreely
.
Note: cookies are enabled in my Safari preferences.
from writefreely.
Based on the previous comment I logged in to writefreely on Safari and the problem no longer reproduced. There was then a wfu cookie in the requests. Clearly this isn't a solution for other users of the site, but it may help to narrow down what's going on.
from writefreely.
I tried to reproduce the problem on another instance running writefreely v0.12.0 and the problem did not recur, e.g. with the URL https://wordsmith.social/underlap/tag:git
. There were no cookies present.
from writefreely.
This looks like a dup of #783.
from writefreely.
A private build of the develop branch picked up the fix for #783 and fixed the problem.
from writefreely.
Related Issues (20)
- wrong date on subscribers page HOT 4
- Version not available in Docker image HOT 1
- Font toggle isn't working in classics editor HOT 2
- Post attributed to non-existent collection
- RSS doesn't maintain formatting HOT 1
- Error setting up GotoSocial as OAuth provider: unable to exchange code for access token HOT 1
- Server down error HOT 1
- Complaint: Unable to sign-up HOT 2
- View with the list of drafts doesn't render the markdown correctly HOT 6
- Unable to register "Server Error" HOT 1
- Viewing Customize -page causes error HOT 1
- mv-24
- Docker image for production
- The types of extractable image are very limited
- This page contains the following errors: error on line 1 at column 1: Start tag expected, '<' not found Below is a rendering of the page up to the first error.
- Errors when setting up Email newsletter HOT 2
- support work over proxy HTTP/HTTPS/SOCKS
- No spacing between different paragraphs
- i need account postheaven HOT 1
- Limited post size on MySQL backend HOT 1
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 writefreely.