Project

General

Profile

Actions

Bug #76120

closed

rsaauth does not submit the name of the submit-button

Added by Robert Vock almost 8 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Authentication
Target version:
-
Start date:
2016-05-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Currently rsaauth does not submit the name of the clicked submit-button. If a form has multiple submit buttons, the name is needed to differentiate on the server-side which button was clicked.

This happens because rsaauth calls preventDefault on the submit-event and then resubmits the form (without adding the submit-button name):
https://github.com/TYPO3/TYPO3.CMS/blob/a8ca5f0e7447610c10b4dfad04919f0864ebc950/typo3/sysext/rsaauth/Resources/Public/JavaScript/RsaEncryption.js#L111

This leads to a bug in sr_feuser_register which prevents editing of user-data. The Controller looks, if the name of the submit-button is within the POST-Data to check if the form was submitted.

A fix might be to remember the last-clicked submit-button in the form before preventing the submit-event. If no button was clicked (when the user pressed enter in a form field), the name of the first found submit-button should be used. This is the default browser-behavior.


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #84253: BE Login with 8.7.11 and Firefox Quantum Browser Version 59.0 not possible anymoreClosedAndreas Kienast2018-03-14

Actions
Related to TYPO3 Core - Bug #84308: Submit of RSA encrypted form not working with type="image" in TYPO3 8.7.11ClosedMarkus Klein2018-03-15

Actions
Related to TYPO3 Core - Bug #84503: Streamline RsaAuth login behaviorRejected2018-03-21

Actions
Actions

Also available in: Atom PDF