@@ -121,11 +121,11 @@ func TestMediaFilenames(t *testing.T) {
121121 })
122122
123123 t .Run ("Will serve safe media types as inline" , func (t * testing.T ) {
124- if runtime .Homeserver != runtime .Synapse {
124+ if runtime .Homeserver != runtime .Synapse && runtime . Homeserver != runtime . Conduwuit {
125125 // We need to check that this security behaviour is being correctly run in
126- // Synapse, but since this is not part of the Matrix spec we do not assume
126+ // Synapse or conduwuit , but since this is not part of the Matrix spec we do not assume
127127 // other homeservers are doing so.
128- t .Skip ("Skipping test of Content-Disposition header requirements on non-Synapse homeserver" )
128+ t .Skip ("Skipping test of Content-Disposition header requirements on non-Synapse and non-conduwuit homeserver" )
129129 }
130130 t .Parallel ()
131131
@@ -139,11 +139,11 @@ func TestMediaFilenames(t *testing.T) {
139139 })
140140
141141 t .Run ("Will serve safe media types with parameters as inline" , func (t * testing.T ) {
142- if runtime .Homeserver != runtime .Synapse {
142+ if runtime .Homeserver != runtime .Synapse && runtime . Homeserver != runtime . Conduwuit {
143143 // We need to check that this security behaviour is being correctly run in
144- // Synapse, but since this is not part of the Matrix spec we do not assume
144+ // Synapse or conduwuit , but since this is not part of the Matrix spec we do not assume
145145 // other homeservers are doing so.
146- t .Skip ("Skipping test of Content-Disposition header requirements on non-Synapse homeserver" )
146+ t .Skip ("Skipping test of Content-Disposition header requirements on non-Synapse and non-conduwuit homeserver" )
147147 }
148148 t .Parallel ()
149149
@@ -158,11 +158,11 @@ func TestMediaFilenames(t *testing.T) {
158158 })
159159
160160 t .Run ("Will serve unsafe media types as attachments" , func (t * testing.T ) {
161- if runtime .Homeserver != runtime .Synapse {
161+ if runtime .Homeserver != runtime .Synapse && runtime . Homeserver != runtime . Conduwuit {
162162 // We need to check that this security behaviour is being correctly run in
163- // Synapse, but since this is not part of the Matrix spec we do not assume
163+ // Synapse or conduwuit , but since this is not part of the Matrix spec we do not assume
164164 // other homeservers are doing so.
165- t .Skip ("Skipping test of Content-Disposition header requirements on non-Synapse homeserver" )
165+ t .Skip ("Skipping test of Content-Disposition header requirements on non-Synapse and non-conduwuit homeserver" )
166166 }
167167 t .Parallel ()
168168
0 commit comments