Update changelog

This commit is contained in:
Alejandro Celaya 2023-03-25 11:16:28 +01:00
parent 1d155298c1
commit 71807e698c
2 changed files with 23 additions and 0 deletions

View File

@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com), and this project adheres to [Semantic Versioning](https://semver.org). The format is based on [Keep a Changelog](https://keepachangelog.com), and this project adheres to [Semantic Versioning](https://semver.org).
## [Unreleased]
### Added
* *Nothing*
### Changed
* *Nothing*
### Deprecated
* *Nothing*
### Removed
* *Nothing*
### Fixed
* [#1715](https://github.com/shlinkio/shlink/issues/1715) Fix short URL creation/edition allowing long URLs without schema. Now a validation error is thrown.
## [3.5.2] - 2023-02-16 ## [3.5.2] - 2023-02-16
### Added ### Added
* *Nothing* * *Nothing*

View File

@ -99,6 +99,12 @@ class ShortUrlCreationTest extends TestCase
DeviceType::IOS->value => ' ', DeviceType::IOS->value => ' ',
], ],
]]; ]];
yield [[
ShortUrlInputFilter::LONG_URL => 'https://foo',
ShortUrlInputFilter::DEVICE_LONG_URLS => [
DeviceType::ANDROID->value => 'missing_schema',
],
]];
yield [[ yield [[
ShortUrlInputFilter::LONG_URL => 'https://foo', ShortUrlInputFilter::LONG_URL => 'https://foo',
ShortUrlInputFilter::DEVICE_LONG_URLS => [ ShortUrlInputFilter::DEVICE_LONG_URLS => [