Coder Social home page Coder Social logo

Comments (5)

the-djmaze avatar the-djmaze commented on June 4, 2024 1

The response in the browser tools looks the same for any sort of binary download AFAIK - e.g. Download https://github.com/the-djmaze/snappymail/releases/download/v2.36.0/snappymail-2.36.0.zip. So I'm not sure that's a good indicator anything is being encoded in base64.

You are right. I've tested this further and Firefox indeed shows almost all in base64 instead of binary data.
Some tests i did, didn't show in base64, but now they do.

So this is a browser thing.

from server.

szaimen avatar szaimen commented on June 4, 2024

Hi, which nc version?

from server.

the-djmaze avatar the-djmaze commented on June 4, 2024

I've tested v25 and up to v27.1.8.

@einhander should report here which version he/she/it/them uses.

from server.

einhander avatar einhander commented on June 4, 2024

@the-djmaze, I use nextcloud 27.1.7
EDIT: The same with nextcloud 27.1.8

from server.

joshtrichards avatar joshtrichards commented on June 4, 2024

I don't follow. The original PDF is downloaded. Are you suggesting that the downloaded file (https://nextcloud.example.com/remote.php/webdav/Documents/Nextcloud%20flyer.pdf) is base64 encoded when saved at the client? Because that's not my experience testing and checking the downloaded file from any of my Nextcloud Server instances. It would be a serious bug if so.

The response in the browser tools looks the same for any sort of binary download AFAIK - e.g. Download https://github.com/the-djmaze/snappymail/releases/download/v2.36.0/snappymail-2.36.0.zip. So I'm not sure that's a good indicator anything is being encoded in base64.

And Content-Transfer-Encoding isn't a valid header used in HTTP to my knowledge (well one can specify it but it doesn't do anything).

The linked bug report says this:

Click on save to local PC or Nextcloud

So it sounds like this is happening even when Nextcloud isn't in the picture.

If I'm missing something, feel free to clarify.

from server.

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.