Skip to content

Commit 2991e07

Browse files
committed
[stomp] Add test that ensure path is urldecoded.
1 parent 527c4b9 commit 2991e07

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

‎pkg/stomp/Tests/StompConnectionFactoryConfigTest.php‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,22 @@ public static function provideConfigs()
135135
],
136136
];
137137

138+
yield [
139+
['dsn' => 'stomp:///%2f'],
140+
[
141+
'host' => 'localhost',
142+
'port' => 61613,
143+
'login' => 'guest',
144+
'password' => 'guest',
145+
'vhost' => '/',
146+
'buffer_size' => 1000,
147+
'connection_timeout' => 1,
148+
'sync' => false,
149+
'lazy' => true,
150+
'ssl_on' => false,
151+
],
152+
];
153+
138154
yield [
139155
['host' => 'localhost', 'port' => 1234, 'foo' => 'bar'],
140156
[

0 commit comments

Comments
 (0)