Skip to content

Commit

Permalink
BUGFIX SVM-3243 Adding http_referer to post request for fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandr Redikultsev committed Jun 24, 2021
1 parent edd2045 commit 38335e4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
modules/servers/solusvmpro/.idea
modules/servers/solusvmpro/callback.php
modules/servers/solusvmpro/configure.ini
modules/servers/solusvmpro/custom.php
modules/servers/solusvmpro/custom.php
.idea

2 changes: 1 addition & 1 deletion modules/servers/solusvmpro/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.1.2
4.1.3
1 change: 1 addition & 0 deletions modules/servers/solusvmpro/solusvmpro.php
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,7 @@ function solusvmpro_AdminLink( $params ) {
}
$code .='<input type="hidden" name="api_id" value="'.$params["serverusername"].'" />
<input type="hidden" name="api_key" value="'.sha1($params["serverpassword"]).'" />
<input type="hidden" name="hostname" value="'.$_SERVER['HTTP_REFERER'].'" />
<input type="submit" name="Submit" class="btn btn-sm btn-default" value="Login" />
</form>';

Expand Down

0 comments on commit 38335e4

Please sign in to comment.