mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 20:15:58 +03:00
[GH-ISSUE #272] run_tests.sh fails on latest release 1.5.4 #217
Labels
No labels
2.1
3.0
3.0.1
3.0.2
3.0.3
3.0.3
3.1
3.2
3.2
3.3
3.5
3.x
Fixed. Waiting for feedback.
Fixed. Waiting for feedback.
UX
Version 2.1 - alpha
XSS
announcement
beta
blocker
bug
cannot reproduce
confirmed
confirmed
critical
demo
dependencies
deployment
detchnical debt
discussion
docker
documentation
donations
duplicate
enhancement
feature request
frontend
fundraising
good first issue
good issue
help wanted
high
implemented
important
improvement
incomplete
invalid
investigation
kubernetes
low
low impact
medium
medium
medium impact
migration from 2.0
migration from 2.1
missing-language
missing-ocr-language
no-activity
note
ocr
outofscope
packaging
performance
popular request
pull-request
pypi
question
raspberry pi
roadmap
search
security
setup
status
task
technical debt
updates
user xp
version 1.4.0 - demo
will be implemented
will not be implemented
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/papermerge#217
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @amo13 on GitHub (Dec 25, 2020).
Original GitHub issue: https://github.com/ciur/papermerge/issues/272
Originally assigned to: @ciur on GitHub.
With the latest release 1.5.4, the run_tests fails with the following results:
Maybe this (
test_folder_validation_against_xss_titles) has something to do with #271?@ciur commented on GitHub (Dec 26, 2020):
@amo13, the failed test is related to #228. I fixed #228 by escaping user input (correct mitigation of XSS) instead of validating user input with custom filters (latter is checked by failing test). Because custom filters validation "feature" was replaced with escape that tests is obsolete and should be removed anyway.
Let me put in other words: failing test was removed immediately AFTER release 1.5.4 was tagged. Correct it would be to remove failing test BEFORE tagging release 1.5.4.
I am not sure how to mitigate this situation.
@amo13 commented on GitHub (Dec 26, 2020):
Ok, thank you for your reply!
Good that the failing test has already been removed from the test script :)
Maybe simply by creating a 1.5.5 release?