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

IS-1693: Skip invalid pdf vedlegg #212

Merged
merged 5 commits into from
Oct 20, 2023
Merged

IS-1693: Skip invalid pdf vedlegg #212

merged 5 commits into from
Oct 20, 2023

Conversation

geir-waagboe
Copy link
Contributor

Hva har blitt lagt til✨🌈

Endret slik at vedlegg med mimetype pdf, men uten matchende binært innhold blir ignorert

@geir-waagboe geir-waagboe requested a review from a team as a code owner October 19, 2023 12:54
@@ -37,7 +37,7 @@ fun Route.registerVedleggSystemApi(
val fellesformat = safeUnmarshal(fellesformatString)

call.respond(
extractVedlegg(fellesformat)
extractValidVedlegg(fellesformat)
Copy link
Contributor

Choose a reason for hiding this comment

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

Skulle vi utvidet VedleggSystemApiSpek også?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ja, det er sant. Har lagt til en test der også 👍

@geir-waagboe geir-waagboe merged commit d87102d into master Oct 20, 2023
@geir-waagboe geir-waagboe deleted the invalid-vedlegg branch October 20, 2023 08:08
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