Skip to content

Commit

Permalink
fixing a typo bug
Browse files Browse the repository at this point in the history
  • Loading branch information
twoln committed May 17, 2024
1 parent 246761c commit 4589fd6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions web/diag/action_realmcheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@
}
$inst_id = filter_input(INPUT_GET, 'inst_id', FILTER_VALIDATE_INT);
$profile_id = filter_input(INPUT_GET, 'profile_id', FILTER_VALIDATE_INT);
$realmUnfiltered = ilter_input(INPUT_GET, 'realm') ?? filter_input(INPUT_POST, 'realm');
$realm = htmlspecialchars(strip_tags($realmUnfiltered));
$realm = htmlspecialchars(strip_tags(filter_input(INPUT_GET, 'realm') ?? filter_input(INPUT_POST, 'realm')));
if ($inst_id && $profile_id) {
$my_inst = $validator->existingIdP($inst_id, $user);
$my_profile = $validator->existingProfile($profile_id, $my_inst->identifier);
Expand Down

0 comments on commit 4589fd6

Please sign in to comment.