[MM-11287] Add support for plus sign and period/dot in custom URL schemes (#9155) (#10852)

Этот коммит содержится в:
Tsilavina Razafinirina
2019-05-25 22:47:06 +03:00
коммит произвёл Hanzei
родитель 2d97f01781
Коммит c05cf5b033
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@@ -509,7 +509,7 @@ func TestDisplaySettingsIsValidCustomUrlSchemes(t *testing.T) {
{
name: "containing period",
value: []string{"iris.beep"},
valid: false, // should technically be true, but client doesn't support it
valid: true,
},
{
name: "containing hyphen",
@@ -519,7 +519,7 @@ func TestDisplaySettingsIsValidCustomUrlSchemes(t *testing.T) {
{
name: "containing plus",
value: []string{"coap+tcp", "coap+ws"},
valid: false, // should technically be true, but client doesn't support it
valid: true,
},
{
name: "starting with number",