File tree 1 file changed +2
-4
lines changed
src/test/java/learningtest/org/springframework/web
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 4
4
5
5
import org .springframework .web .util .UriComponentsBuilder ;
6
6
7
- import org .junit .Ignore ;
8
7
import org .junit .Test ;
9
8
10
9
/**
14
13
*/
15
14
public class UriComponentBuilderTests {
16
15
17
- // FIXME: See https://github.com/spring-projects/spring-framework/issues/19394
18
- @ Ignore
19
16
@ Test
20
17
public void testFromHttpUrlBuildEncoded () {
21
18
// Works with '%20' for a space
22
19
String httpUrl = "http://localhost:8080/test/print?value=%EA%B0%80%20%EB%82%98" ;
23
20
URI uri = UriComponentsBuilder .fromHttpUrl (httpUrl ).build (true ).toUri ();
24
21
System .out .println (uri );
25
22
26
- // but doesn't work with '+' for a space.
23
+ // Works with '+' for a space.
24
+ // See https://github.com/spring-projects/spring-framework/issues/19394
27
25
httpUrl = "http://localhost:8080/test/print?value=%EA%B0%80+%EB%82%98" ;
28
26
uri = UriComponentsBuilder .fromHttpUrl (httpUrl ).build (true ).toUri ();
29
27
System .out .println (uri );
You can’t perform that action at this time.
0 commit comments