Skip to content

Conversation

@ridoy19
Copy link

@ridoy19 ridoy19 commented Jun 8, 2023

Added Bengali Unicode support, updated the Jasper reports version to the newest, and made get resource request from request param

ridoy19 added 2 commits June 8, 2023 22:27
…newest and made get resource request from request param
…newest and made get resource request from request param
@ridoy19 ridoy19 mentioned this pull request Jun 8, 2023
4 tasks
Resource resource = context.getResource("classpath:jasperreports/"+jrxml+".jrxml");
public void getPdf(@PathVariable String jrxml,@RequestParam("no") Optional<Integer> no,
@RequestParam("date") Optional<Date> date, HttpServletResponse response) throws IOException, JRException {
Resource resource = context.getResource("classpath:jasperreports/" + jrxml + (no.isPresent() ? no.get() : "") +".jrxml");

Check failure

Code scanning / CodeQL

Uncontrolled data used in path expression

This path depends on a [user-provided value](1).
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.

1 participant