Skip to content

Conversation

@labkey-tchad
Copy link
Member

@labkey-tchad labkey-tchad commented Oct 20, 2025

Rationale

Now that the HDRLTest is running on TeamCity the crawler revealed some bad parameter handling. After reviewing the HDRL actions, I found that several needed minor fixes.

java.lang.NumberFormatException: For input string: "">'>'"</script><img src="x" onerror="alert('8(')">"
	at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)
	at java.base/java.lang.Integer.parseInt(Integer.java:654)
	at java.base/java.lang.Integer.parseInt(Integer.java:786)
	at org.labkey.hdrl.HDRLController$RequestDetailsAction.getView(HDRLController.java:143)

Related Pull Requests

  • N/A

Changes

  • Fix handling of bad URL parameters

@labkey-tchad labkey-tchad changed the title Fix handling of bad URL parameters Fix handling of bad URL parameters in HDRL Oct 20, 2025
@labkey-tchad labkey-tchad merged commit 76cb67d into develop Oct 20, 2025
9 checks passed
@labkey-tchad labkey-tchad deleted the fb_hdrlCrawlerFixes branch October 20, 2025 23:11
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.

3 participants