File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1614,7 +1614,7 @@ mod tests {
1614
1614
. borrow( )
1615
1615
. get( "class" )
1616
1616
. unwrap( ) ,
1617
- "fa-svg"
1617
+ "f-a_code-branch_solid fa-svg"
1618
1618
) ;
1619
1619
1620
1620
Ok ( ( ) )
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ mod tests {
169
169
fn test_csp_other ( ) {
170
170
let csp = Csp :: new ( ) ;
171
171
assert_eq ! (
172
- Some ( "default-src 'none'; base-uri 'none'; img-src 'self' https:" . into( ) ) ,
172
+ Some ( "default-src 'none'; base-uri 'none'; img-src 'self' https: data: " . into( ) ) ,
173
173
csp. render( ContentType :: Other )
174
174
) ;
175
175
}
@@ -179,7 +179,7 @@ mod tests {
179
179
let csp = Csp :: new ( ) ;
180
180
assert_eq ! (
181
181
Some (
182
- "default-src 'none'; base-uri 'none'; img-src 'self' https:; \
182
+ "default-src 'none'; base-uri 'none'; img-src 'self' https: data: ; \
183
183
style-src 'self' 'unsafe-inline'"
184
184
. into( )
185
185
) ,
@@ -192,7 +192,7 @@ mod tests {
192
192
let csp = Csp :: new ( ) ;
193
193
assert_eq ! (
194
194
Some ( format!(
195
- "default-src 'none'; base-uri 'none'; img-src 'self' https:; \
195
+ "default-src 'none'; base-uri 'none'; img-src 'self' https: data: ; \
196
196
style-src 'self'; font-src 'self'; connect-src 'self'; script-src 'nonce-{}'",
197
197
csp. nonce( )
198
198
) ) ,
You can’t perform that action at this time.
0 commit comments