Skip to content

Fix double-encoding in DnnDatePicker internal control#6592

Merged
david-poindexter merged 1 commit intodnnsoftware:developfrom
bdukes:dnn-datetime-picker
Jun 12, 2025
Merged

Fix double-encoding in DnnDatePicker internal control#6592
david-poindexter merged 1 commit intodnnsoftware:developfrom
bdukes:dnn-datetime-picker

Conversation

@bdukes
Copy link
Copy Markdown
Contributor

@bdukes bdukes commented Jun 11, 2025

Summary

The internal DnnDatePicker and DnnDateTimePicker controls are not working since 9.13.9 (cf. 34c72c9) because of quotes being double-encoded (because the control is JSON encoding strings which are not really strings, but intended to be arbitrary JS expressions, in this case new Date('…')).

This PR adjusts that encoding so that it works as it did previously.

Copy link
Copy Markdown
Contributor

@valadas valadas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@david-poindexter david-poindexter merged commit b936161 into dnnsoftware:develop Jun 12, 2025
2 checks passed
@david-poindexter david-poindexter deleted the dnn-datetime-picker branch June 12, 2025 03:57
@valadas valadas modified the milestones: 10.0.2, 10.1.0 Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants