When use redirect avoid to use fragment
The fragment is the part after the pound, #. If a fragment is used, first the page is loaded and then the fragment is processed afterwards. Not using fragments it can go directly to the correct page. FEA: ItEr74S04BugFixing
This commit is contained in:
parent
eaf2538a64
commit
c05150b234
1 changed files with 2 additions and 1 deletions
|
|
@ -221,7 +221,8 @@ public class URLHandler<T> {
|
|||
}
|
||||
|
||||
private String buildRedirectURL(String fragment) {
|
||||
StringBuilder linkValue = new StringBuilder(page).append(fragment);
|
||||
StringBuilder linkValue = new StringBuilder(page).append(";").append(
|
||||
!fragment.isEmpty() ? fragment.substring(1) : "");
|
||||
return linkValue.toString();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue