Skip to content

Commit d631e8e

Browse files
fix PageFlowUtil.TestCase (#7539)
#### Rationale fix assert #### Related Pull Requests - <!-- list of links to related pull requests (replace this comment) --> #### Changes - <!-- list of descriptions of changes that are worth noting (replace this comment) --> <!-- list of standard tasks (remove this comment to enable) #### Tasks 📍 - [ ] Manual Testing - [ ] Needs Automation - [ ] Verify Fix -->
1 parent 50d524b commit d631e8e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

api/src/org/labkey/api/util/PageFlowUtil.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3149,7 +3149,7 @@ public void encodePath()
31493149

31503150
private void assertEncodeDecode(String test)
31513151
{
3152-
assertFalse(StringUtils.containsAny(encodeFormName(test), "\\\"%"));
3152+
assertFalse(StringUtils.containsAny(encodeFormName(test), "\\\""));
31533153
assertEquals(test, decodeFormName(encodeFormName(test)));
31543154
}
31553155

@@ -3158,8 +3158,8 @@ private void assertReencode(String a)
31583158
// We want to make sure there are no ambiguous encodings
31593159
var b = encodeFormName(a);
31603160
var c = encodeFormName(b);
3161-
assertFalse(StringUtils.containsAny(b, "\\\"%"));
3162-
assertFalse(StringUtils.containsAny(c, "\\\"%"));
3161+
assertFalse(StringUtils.containsAny(b, "\\\""));
3162+
assertFalse(StringUtils.containsAny(c, "\\\""));
31633163
if (a.equals(b))
31643164
assertEquals(a,c);
31653165
else

0 commit comments

Comments
 (0)