Skip to content

Commit

Permalink
Merge pull request #43 from plesk/bugfix-aredikultsev-adding-http-ref…
Browse files Browse the repository at this point in the history
…erer-to-post-SVM-3243

BUGFIX SVM-3243 Adding http_referer to post request for fallback
  • Loading branch information
redikultsevsilver authored Jun 24, 2021
2 parents edd2045 + 38335e4 commit 8a2af0d
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 8a2af0d

Please sign in to comment.