Skip to content
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

v3.3.1 20240818 [Backend Module] #211

Merged
merged 3 commits into from
Aug 18, 2024
Merged

v3.3.1 20240818 [Backend Module] #211

merged 3 commits into from
Aug 18, 2024

Conversation

Nicklas373
Copy link
Owner

Recent Changelog:

Controllers: Split: Try to handle un-count custom pages

Description:
In some condition when custom page ranges was inputted, value sometimes are not
really custom. It can be integer without any string on it, in that case hana-pdf
can threw overflow integer into iLovePDF API.

Although it should be return error from iLovePDF, but it should be good if it can be
handle from backend instead. Apply more guard logic to protect if value was input on
custom page are integer, then do logic to check if page number are not more that total
pdf pages.

And also properly include some database insert on some error, it should be tracked too.

Signed-off-by: Dicky Herlambang (花) <herlambangdicky5@gmail.com>
Signed-off-by: Dicky Herlambang (花) <herlambangdicky5@gmail.com>
In some condition when custom page ranges was inputted, value sometimes are not
really custom. It can be integer without any string on it, in that case hana-pdf
can threw overflow integer into iLovePDF API.

Although it should be return error from iLovePDF, but it should be good if it can be
handle from backend instead. Apply more guard logic to protect if value was input on
custom page are integer, then do logic to check if page number are not more that total
pdf pages.

And also properly include some database insert on some error, it should be tracked too.

Signed-off-by: Dicky Herlambang (花) <herlambangdicky5@gmail.com>
@Nicklas373 Nicklas373 added enhancement New feature or request dependencies Pull requests that update a dependency file security php Pull requests that update Php code labels Aug 18, 2024
@Nicklas373 Nicklas373 self-assigned this Aug 18, 2024
@Nicklas373 Nicklas373 merged commit 1bc9afb into be/master Aug 18, 2024
2 checks passed
@Nicklas373 Nicklas373 deleted the dev/be/master branch August 18, 2024 15:52
@Nicklas373 Nicklas373 restored the dev/be/master branch August 18, 2024 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request php Pull requests that update Php code security
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant