Skip to content

Add debug logging for actions #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 8, 2024

Conversation

aristotelos
Copy link
Collaborator

Add debug logging for dispatching actions to see whether key down and key up are mirrored.

Add debug logging for dispatching actions to see whether key down and
key up are mirrored.
}

[HttpPost]
public async Task<ActionResult> PerformActions([FromRoute] string sessionId, [FromBody] ActionsRequest actionsRequest)
{
_logger.LogDebug("Performing actions for session {SessionId}", sessionId);

Check failure

Code scanning / CodeQL

Log entries created from user input

This log entry depends on a [user-provided value](1).
@@ -39,11 +43,13 @@
[HttpDelete]
public async Task<ActionResult> ReleaseActions([FromRoute] string sessionId)
{
_logger.LogDebug("Releasing actions for session {SessionId}", sessionId);

Check failure

Code scanning / CodeQL

Log entries created from user input

This log entry depends on a [user-provided value](1).
@@ -171,6 +173,8 @@
[HttpPost("{elementId}/value")]
public async Task<ActionResult> ElementSendKeys([FromRoute] string sessionId, [FromRoute] string elementId, [FromBody] ElementSendKeysRequest elementSendKeysRequest)
{
_logger.LogDebug("Element send keys for session {SessionId} and element {ElementId}", sessionId, elementId);

Check failure

Code scanning / CodeQL

Log entries created from user input

This log entry depends on a [user-provided value](1).
@@ -171,6 +173,8 @@
[HttpPost("{elementId}/value")]
public async Task<ActionResult> ElementSendKeys([FromRoute] string sessionId, [FromRoute] string elementId, [FromBody] ElementSendKeysRequest elementSendKeysRequest)
{
_logger.LogDebug("Element send keys for session {SessionId} and element {ElementId}", sessionId, elementId);

Check failure

Code scanning / CodeQL

Log entries created from user input

This log entry depends on a [user-provided value](1).
@aristotelos aristotelos merged commit c87c586 into FlaUI:main May 8, 2024
@aristotelos aristotelos deleted the send-keys-logging branch May 8, 2024 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy