SQLPage: Upload not working on Brave
Introduction
On Brave Version 1.66.110 Chromium: 125.0.6422.60 (Official Build) (64-bit) On debian
brave-browser/stable,now 1.66.110 amd64 [installed]
The web browser from Brave
To Reproduce
Use this page:
SELECT 'form' AS component, 'Upload' AS validate;
SELECT 'Upload' AS value, '' AS label, 'hidden' AS type, 'action' AS name;
SELECT 'content' AS name, 'file' AS type, '' AS label;
Try upload with firefox
Firefox 126.0 (64-bit) (work for me). MXLinux pkg:
firefox/mx,now 126.0~mozillabinaries-1mx21+1 amd64 [installed]
The Firefox web browser
On the file I tried, the POST payload was like this:
-----------------------------12033294501313551660708751435
Content-Disposition: form-data; name="action"
Upload
-----------------------------12033294501313551660708751435
Content-Disposition: form-data; name="content"; filename="Visitor Enrolment to Full Enrolment.docx"
Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
PK�� MX���������������_rels/.relsÒÁJ1à{b{w¶UDd³½ÐH}ÌîLH¦ZßÞP
ºPVÁ3ùçç#¤Ýý¾z§«ºaë àu÷´¼M·h_h¯¥Dòèb®ÊNÈ
FøÍH^ç#
rÓsòZÊ1
µyÓáºiî0ýìnÒYm´µ+¨vþ×D[-
-- truncated and possibly mojibaked by my copy paste, but much data followed and I trust is correct (haven't confirmed)
Then with brave
I tried with and without brave shields up/down
Brave Version 1.66.110 Chromium: 125.0.6422.60 (Official Build) (64-bit) Debian pkg
brave-browser/stable,now 1.66.110 amd64 [installed]
The web browser from Brave
On brave, the POST payload looks like this: This is the full output - there is no data (well, looks like maybe just a blank line):
------WebKitFormBoundaryjZTpHwaPMWnyd7l3
Content-Disposition: form-data; name="action"
Upload
------WebKitFormBoundaryjZTpHwaPMWnyd7l3
Content-Disposition: form-data; name="content"; filename="Visitor Enrolment to Full Enrolment.docx"
Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
------WebKitFormBoundaryjZTpHwaPMWnyd7l3--
Expected behavior
I expect upload to work on Brave.
I have not tested google chrome or chromium. It would be great if someone could confirm if this is working on other chromium based browsers.
Version information
- OS: MXLinux
- Database: N/A
- SQLPage Version: 0.20.5
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16 (8 by maintainers)
ok, will give it a try, thnx much