]>
git.p6c8.net - jirafeau/jirafeau.git/log
Blackeye [Sat, 31 Oct 2026 00:32:20 +0000 (01:32 +0100)]
Merge branch 'allow-disallow-extensions' into 'next-release'
Add a config option to forbid certain file extensions for uploads
See merge request jirafeau/Jirafeau!39
TehPeGaSuS [Sun, 25 Oct 2026 23:19:25 +0000 (00:19 +0100)]
Use braces on every if in control_selected_file_extension
TehPeGaSuS [Sun, 25 Oct 2026 22:48:51 +0000 (23:48 +0100)]
Show the disallowed extensions list only when the selected file matches
TehPeGaSuS [Sun, 25 Oct 2026 22:45:56 +0000 (23:45 +0100)]
Accept a leading dot in disallowed_extensions entries
TehPeGaSuS [Fri, 23 Oct 2026 18:38:10 +0000 (20:38 +0200)]
Write vertical tab as \v in jirafeau_is_extension_allowed
TehPeGaSuS [Mon, 19 Oct 2026 19:04:17 +0000 (21:04 +0200)]
Match compound extensions such as tar.gz in disallowed_extensions
Patrick Canterino [Sun, 18 Oct 2026 20:55:09 +0000 (22:55 +0200)]
Removed linting for PHP 7.4 since it is EOL
Also, linting does not work on GitLab's CI anymore, because of dependency issues
TehPeGaSuS [Sun, 18 Oct 2026 14:28:41 +0000 (16:28 +0200)]
Escape the disallowed extensions list in the upload form's onchange attribute
TehPeGaSuS [Fri, 16 Oct 2026 10:42:58 +0000 (12:42 +0200)]
Keep the size error when the extension is also forbidden
TehPeGaSuS [Fri, 16 Oct 2026 10:38:32 +0000 (12:38 +0200)]
Ignore trailing dots and whitespace when checking file extension
TehPeGaSuS [Fri, 16 Oct 2026 10:36:00 +0000 (12:36 +0200)]
Disable the send button instead of hiding it for forbidden extensions
Patrick Canterino [Fri, 16 Oct 2026 10:16:08 +0000 (12:16 +0200)]
Updated CHANGELOG
Patrick Canterino [Fri, 16 Oct 2026 10:10:28 +0000 (12:10 +0200)]
Updated list of authors
Patrick Canterino [Fri, 16 Oct 2026 09:30:12 +0000 (11:30 +0200)]
Merge branch 'optional-time-param' into 'next-release'
Make time parameter optional in script.php
See merge request jirafeau/Jirafeau!38
Patrick Canterino [Fri, 16 Oct 2026 09:29:39 +0000 (11:29 +0200)]
Merge branch 'fix-onetime-download-stats' into 'next-release'
Write download stats before deleting one-time link
See merge request jirafeau/Jirafeau!40
Max Hausch [Tue, 29 Sep 2026 07:22:37 +0000 (09:22 +0200)]
Write download stats before deleting one-time link
ThePeGaSuS [Mon, 7 Sep 2026 11:02:50 +0000 (13:02 +0200)]
Add disallowed_extensions config with server and client validation
Add $cfg['disallowed_extensions'] as a single-purpose blacklist field
(supersedes MR !39's allowed/forbidden approach per maintainer
feedback). Server-side validation runs in both the direct-upload and
async-init branches of script.php, covering browser and CLI/curl
uploads alike. Client-side JS mirrors the existing file-size check,
warning the user and hiding the send button before they submit an
upload with a disallowed extension, and the disallowed list is shown
next to the file-size hint on the upload form.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MGzCMiwvovH9jLpoAJZvkF
ThePeGaSuS [Sat, 5 Sep 2026 17:44:37 +0000 (19:44 +0200)]
Make time parameter optional in script.php
Defaults to availability_default from config when time is not provided.
Patrick Canterino [Wed, 12 Aug 2026 11:25:44 +0000 (13:25 +0200)]
Merge branch 'next-release' into 'next-release'
Promoting MR 35 to Next-Rrelease Except the Password Hashing that is Already Implemented
See merge request jirafeau/Jirafeau!37
Patrick Canterino [Sat, 27 Jun 2026 08:59:44 +0000 (10:59 +0200)]
Begin a new release cycle
Patrick Canterino [Sat, 27 Jun 2026 08:56:22 +0000 (10:56 +0200)]
Jirafeau 4.7.2 is ready
Patrick Canterino [Sat, 27 Jun 2026 08:55:29 +0000 (10:55 +0200)]
Show value of "debug_enforce_classic_upload" in bug report info
Davi Torres [Mon, 22 Jun 2026 15:09:17 +0000 (11:09 -0400)]
Also hooking regex on script.php
Davi Torres [Mon, 22 Jun 2026 15:08:17 +0000 (11:08 -0400)]
More character scaping on indes and install.
Davi Torres [Mon, 22 Jun 2026 15:05:55 +0000 (11:05 -0400)]
Hooking regex to the begining of the line and using safe comparison.
Davi Torres [Mon, 22 Jun 2026 15:03:44 +0000 (11:03 -0400)]
Prevent CSRF by using htmlspecialchars on header and footer.
Patrick Canterino [Sat, 13 Jun 2026 13:44:42 +0000 (15:44 +0200)]
Updated CHANGELOG
Patrick Canterino [Sat, 13 Jun 2026 13:35:26 +0000 (15:35 +0200)]
Added "debug_enforce_classic_upload" to Docker options
Patrick Canterino [Fri, 5 Jun 2026 14:49:58 +0000 (16:49 +0200)]
Added TehPeGaSuS to the list of authors
Patrick Canterino [Fri, 5 Jun 2026 14:35:55 +0000 (16:35 +0200)]
Modified copyright header of all themes
Patrick Canterino [Fri, 5 Jun 2026 14:31:44 +0000 (16:31 +0200)]
Applied CSS for "show password box" to other themes
Patrick Canterino [Fri, 5 Jun 2026 14:23:42 +0000 (16:23 +0200)]
Applied patch by @Blackstareye from merge request !30
Now we have an eye button for toggling the password to clear text
Patrick Canterino [Fri, 5 Jun 2026 14:16:41 +0000 (16:16 +0200)]
Merge branch 'patch-1' into 'show_password_box'
Add a Show password checkbox
See merge request jirafeau/Jirafeau!30
Patrick Canterino [Fri, 5 Jun 2026 14:02:08 +0000 (16:02 +0200)]
Merge branch 'fix_legacy_upload' into 'next-release'
Fixed file encryption on classic upload
See merge request jirafeau/Jirafeau!34
Patrick Canterino [Fri, 5 Jun 2026 14:01:33 +0000 (16:01 +0200)]
Merge branch 'md5_to_sha256' into 'next-release'
Md5 to sha256
See merge request jirafeau/Jirafeau!33
Patrick Canterino [Sun, 31 May 2026 16:55:05 +0000 (18:55 +0200)]
Fixed error message occuring on classic upload
Changed handling of XHR responses
Patrick Canterino [Sun, 31 May 2026 13:49:28 +0000 (15:49 +0200)]
Fixed temporary filenames of encrypted files during classic upload
Patrick Canterino [Sun, 31 May 2026 13:30:50 +0000 (15:30 +0200)]
Renamed cfg option debug_enforce_legacy_upload to debug_enforce_classic_upload
Patrick Canterino [Sun, 31 May 2026 13:29:37 +0000 (15:29 +0200)]
Fixed file encryption in classic uploads
Encrypted files uploaded using classic (synchronous) uploads were marked using "C" identifying legacy mcrypt encryption
=> changed to "C2" identifying Sodium encryption
Patrick Canterino [Sun, 31 May 2026 13:07:50 +0000 (15:07 +0200)]
Small refactoring
Patrick Canterino [Fri, 29 May 2026 14:57:14 +0000 (16:57 +0200)]
Added config option to enforce legacy synchronous file upload
This is useful for debugging, we use it for issue #48
Patrick Canterino [Fri, 29 May 2026 13:48:02 +0000 (15:48 +0200)]
Fixed linter error
Patrick Canterino [Fri, 29 May 2026 13:35:41 +0000 (15:35 +0200)]
Prefixed SHA256 password hashes
This way we can identify them and still compare to legacy MD5 hashes
Patrick Canterino [Fri, 29 May 2026 13:13:29 +0000 (15:13 +0200)]
Here we actually NEED MD5. This one affects only legacy files encrypted using mcrypt.
Blackeye [Thu, 28 May 2026 18:21:13 +0000 (20:21 +0200)]
Merge branch 'proposal_ci_php_linting_with_warning' into 'next-release'
Proposal ci php linting with warning
See merge request jirafeau/Jirafeau!32
Patrick Canterino [Wed, 4 Feb 2026 11:36:38 +0000 (12:36 +0100)]
Mentioned CVE-2026-1466 in CHANGELOG
Blackeye [Wed, 4 Feb 2026 00:47:30 +0000 (01:47 +0100)]
pat pat - ci linting
Blackeye [Wed, 4 Feb 2026 00:39:18 +0000 (01:39 +0100)]
fixed script md5 -> sha256
Blackeye [Wed, 4 Feb 2026 00:33:51 +0000 (01:33 +0100)]
#34 - change md5 to sha256
Blackeye [Tue, 3 Feb 2026 22:31:42 +0000 (23:31 +0100)]
updated php-cs-fixer version to latest version
Blackeye [Tue, 3 Feb 2026 22:19:50 +0000 (23:19 +0100)]
rearanged anchors and added linting proposal
Patrick Canterino [Fri, 30 Jan 2026 12:22:47 +0000 (13:22 +0100)]
Updated CHANGELOG
Patrick Canterino [Fri, 30 Jan 2026 12:19:15 +0000 (13:19 +0100)]
Merge branch 'master' into 'next-release'
Missing favicon
See merge request jirafeau/Jirafeau!31
TehPeGaSuS [Mon, 26 Jan 2026 22:03:25 +0000 (23:03 +0100)]
Another attempt to fix linting
TehPeGaSuS [Mon, 26 Jan 2026 21:46:29 +0000 (22:46 +0100)]
Trying to make linting happy
TehPeGaSuS [Mon, 26 Jan 2026 21:25:20 +0000 (22:25 +0100)]
Upload New File
TehPeGaSuS [Mon, 26 Jan 2026 20:59:12 +0000 (21:59 +0100)]
Add a `Show password checkbox`
Patrick Canterino [Sun, 25 Jan 2026 13:39:52 +0000 (14:39 +0100)]
Begin a new release cycle
Patrick Canterino [Sun, 25 Jan 2026 13:35:16 +0000 (14:35 +0100)]
Jirafeau 4.7.1 is ready
Patrick Canterino [Sun, 25 Jan 2026 13:33:36 +0000 (14:33 +0100)]
Updated README
- Notes about lack of end-to-end encryption
- Notes about setting max_upload_chunk_size_bytes manually if updating from an older version
Patrick Canterino [Mon, 19 Jan 2026 18:36:45 +0000 (19:36 +0100)]
Updated CHANGELOG
Patrick Canterino [Mon, 19 Jan 2026 18:30:06 +0000 (19:30 +0100)]
Docker image: Updated PHP to 8.3 and removed mime-types.conf from lighttpd.conf
PHP 8.1 is end-of-life
mime-types.conf is not available in recent versions of lighttpd
Fixed issue #45
Patrick Canterino [Sun, 18 Jan 2026 13:58:01 +0000 (14:58 +0100)]
Added slt to list of authors
Patrick Canterino [Sun, 18 Jan 2026 13:30:14 +0000 (14:30 +0100)]
Updated CHANGELOG
Patrick Canterino [Sun, 18 Jan 2026 13:20:21 +0000 (14:20 +0100)]
Further description of issue #40 in README
Patrick Canterino [Sun, 18 Jan 2026 13:14:05 +0000 (14:14 +0100)]
Set default value of max_upload_chunk_size_bytes to
5000000 (5MB)
Higher values can trigger a bug in Chromium based browsers with HTTP/3 on the web server enabled (see issue #40)
Patrick Canterino [Sat, 10 Jan 2026 15:29:40 +0000 (16:29 +0100)]
Merge branch 'bug_mime_sniffing' into 'next-release'
Disable MIME sniffing to prevent preview of invalid (propably harmful) file types
See merge request jirafeau/Jirafeau!29
Patrick Canterino [Sun, 4 Jan 2026 13:54:55 +0000 (14:54 +0100)]
Disable MIME sniffing to prevent preview of invalid (propably harmful) file types
Reported by Yann CAM and Killian CHEVRIER
Patrick Canterino [Sun, 4 Jan 2026 13:43:49 +0000 (14:43 +0100)]
Mentioned issue #40 as a known issue in the README file
Patrick Canterino [Mon, 8 Sep 2025 10:09:50 +0000 (12:09 +0200)]
Begin a new release cycle
Patrick Canterino [Mon, 8 Sep 2025 10:03:48 +0000 (12:03 +0200)]
Jirafeau 4.7.0 is ready
Patrick Canterino [Mon, 8 Sep 2025 09:54:03 +0000 (11:54 +0200)]
Updated list of authors
Patrick Canterino [Mon, 8 Sep 2025 09:50:56 +0000 (11:50 +0200)]
Updated CHANGELOG
Patrick Canterino [Sat, 30 Aug 2025 12:28:22 +0000 (14:28 +0200)]
Updated CHANGELOG
Patrick Canterino [Sat, 30 Aug 2025 12:13:45 +0000 (14:13 +0200)]
Merge branch 'shortlinks' into 'next-release'
add short link support
See merge request jirafeau/Jirafeau!24
Florian [Sat, 30 Aug 2025 12:13:45 +0000 (12:13 +0000)]
add short link support
Patrick Canterino [Tue, 12 Aug 2025 13:04:20 +0000 (15:04 +0200)]
Fixed indentation
Patrick Canterino [Tue, 12 Aug 2025 12:46:59 +0000 (14:46 +0200)]
Merge branch 'f_issue_35-36' into 'next-release'
Fixes for issues 35 and 36
See merge request jirafeau/Jirafeau!26
Patrick Canterino [Tue, 12 Aug 2025 12:45:01 +0000 (14:45 +0200)]
Merge branch 'f_issue_37' into 'next-release'
Fix for issue 37
See merge request jirafeau/Jirafeau!27
Patrick Canterino [Sat, 9 Aug 2025 13:35:46 +0000 (15:35 +0200)]
Trying to upload a file using script.php with an upload password set always ends up in an "Error 2". Added "!isset($_POST['upload_password'])" to the test condition.
Patch by Yannis Aribaud
Patrick Canterino [Sat, 9 Aug 2025 13:13:44 +0000 (15:13 +0200)]
Download statistics were not shown in the admin interface
This feature got accidentally lost during refactoring
Patrick Canterino [Sat, 9 Aug 2025 13:06:13 +0000 (15:06 +0200)]
The generated download password was not shown in the "finished" page
This feature got accidentally lost during refactoring
Also made the form field readonly
Patrick Canterino [Sat, 9 Aug 2025 12:53:45 +0000 (14:53 +0200)]
Merge branch 'make-tos-identifiable' into 'next-release'
give tos notice a specific element id
See merge request jirafeau/Jirafeau!25
Florian [Sat, 9 Aug 2025 12:53:45 +0000 (12:53 +0000)]
give tos notice a specific element id
Patrick Canterino [Fri, 8 Aug 2025 13:00:52 +0000 (15:00 +0200)]
Mentioned CVE-2025-7066
Patrick Canterino [Sun, 22 Jun 2025 13:12:28 +0000 (15:12 +0200)]
Begin a new release cycle
Patrick Canterino [Sun, 22 Jun 2025 13:02:31 +0000 (15:02 +0200)]
Jirafeau 4.6.3 is ready
Patrick Canterino [Thu, 19 Jun 2025 12:17:35 +0000 (14:17 +0200)]
Updated CHANGELOG
Patrick Canterino [Thu, 19 Jun 2025 11:56:59 +0000 (13:56 +0200)]
Fixes for issues #31 and #32
See merge request jirafeau/Jirafeau!22
Patrick Canterino [Mon, 16 Jun 2025 10:13:44 +0000 (12:13 +0200)]
Compare stored hashes for admin and download password using hash_equals()
This prevents timing attacks and attacks using Type Juggling
Originally proposed by onosh
Patrick Canterino [Mon, 16 Jun 2025 09:58:15 +0000 (11:58 +0200)]
Check for commas in MIME type before generating preview
It was possible to bypass the preview check by sending a manipulated HTTP request with a MIME type like "image/png,text/html".
When parsing the Content-Type of a HTTP response, browsers see multiple MIME types, and the last one, text/html, takes precedence, allowing to execute potentially harmful JavaScript code.
This check was originally implemented to address CVE-2022-30110 then CVE-2024-12326.
Reported by:
- Yann CAM (ycam) (https://yann.cam/)
- Killian CHEVRIER (palmier) (https://killianchevrier.fr/)
Patrick Canterino [Sat, 22 Mar 2025 12:15:31 +0000 (13:15 +0100)]
Merge branch 'master' into 'next-release'
fix grammar mistake
See merge request jirafeau/Jirafeau!21
Ruixey [Fri, 21 Mar 2025 16:08:57 +0000 (16:08 +0000)]
fix grammar mistake
Patrick Canterino [Tue, 4 Mar 2025 14:39:23 +0000 (15:39 +0100)]
Begin a new release cycle
Patrick Canterino [Tue, 4 Mar 2025 14:34:07 +0000 (15:34 +0100)]
Merge branch 'next-release'
Patrick Canterino [Tue, 4 Mar 2025 14:31:23 +0000 (15:31 +0100)]
Jirafeau 4.6.2 is ready
Patrick Canterino [Fri, 28 Feb 2025 12:57:19 +0000 (13:57 +0100)]
Updated CHANGELOG
Blackeye [Wed, 19 Feb 2025 13:46:25 +0000 (13:46 +0000)]
Merge branch 'hotfix_issue_21' into 'master'
HOTFIX: fix for issue #21 and a docker_compose.yaml for testing | cherry https://gitlab.com/jirafeau/Jirafeau/-/commit/
8e36d013510ddedf9bb830b547f2de7664815bd0
See merge request jirafeau/Jirafeau!20
Blackstareye [Sat, 18 Jan 2025 17:15:14 +0000 (18:15 +0100)]
fix for issue #21 and a docker_compose.yaml for testing
Blackeye [Tue, 18 Feb 2025 16:52:49 +0000 (16:52 +0000)]
Merge branch 'hotfix_cherrypick_issue_23' into 'master'
fixed script upload - missing return statement
See merge request jirafeau/Jirafeau!19
patrick-canterino.de