PrivateBin/lib
TowyTowy a0c0d154ee fix: handle YOURLS 200 response without shorturl gracefully
When YOURLS replies with statusCode 200 but no "shorturl" field,
YourlsProxy::_extractShortUrl() returned int 0 for its ?string return
type. Under the file's declare(strict_types=1) this raises an uncaught
TypeError, aborting paste creation instead of surfacing the intended
"Error parsing proxy response" message. Fall back to null (matching
ShlinkProxy) so the existing graceful error path is taken.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-12 23:02:26 +02:00
..
Data address PHP 8.5 deprecation 2025-12-02 07:07:04 +01:00
Exception apply StyleCI recommendation 2025-11-19 10:02:15 +01:00
Model apply null coalescing operator, strict equality, avoid aliases, prefer empty 2025-11-20 08:19:14 +01:00
Persistence apply null coalescing operator, strict equality, avoid aliases, prefer empty 2025-11-20 08:19:14 +01:00
Proxy fix: handle YOURLS 200 response without shorturl gracefully 2026-07-12 23:02:26 +02:00
.htaccess updating shipped .htaccess files for Apache 2.4 as per https://httpd.apache.org/docs/2.4/upgrading.html#access - Thanks @EchoDev, fixes #194 2017-03-11 08:56:14 +01:00
Configuration.php Merge remote-tracking branch 'upstream/master' into advisory-fix-1 2026-07-11 10:11:29 +02:00
Controller.php incrementing version 2026-07-11 10:19:40 +02:00
Filter.php Switch from binary bytes to SI-units 2025-07-23 21:06:20 +03:00
FormatV2.php apply null coalescing operator, strict equality, avoid aliases, prefer empty 2025-11-20 08:19:14 +01:00
I18n.php feat: add i18n keys for Cmd and Ctrl keyboard labels 2026-06-19 19:58:29 +03:00
Json.php apply StyleCI recommendation 2025-11-19 09:57:08 +01:00
Model.php enable strict types in PHP 2024-06-04 07:13:55 +02:00
Request.php insert only base path in JSON API responses, without GET parameters 2026-06-15 23:12:52 +02:00
TemplateSwitcher.php ensure template cookie cannot be a path 2025-11-11 17:52:48 +01:00
View.php apply StyleCI recommendation 2026-04-03 18:38:34 +02:00
Vizhash16x16.php apply null coalescing operator, strict equality, avoid aliases, prefer empty 2025-11-20 08:19:14 +01:00