• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zopefoundation / Zope / 4179
81%
master: 82%

Build:
Build:
LAST BUILD BRANCH: 6.0b2
DEFAULT BRANCH: master
Ran 30 Sep 2020 11:45AM UTC
Jobs 5
Files 364
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
4179

push

travis-ci

dataflake
Fix export of files with non-latin-1 compatible names (#893)

* Fix export of files with non-latin-1 compatible names

With Zope 4 unicode characters for ids are allowed.

The `zexp` export was not updated yet.

This has been fixed now.

closes #890

modified:   CHANGES.rst
modified:   src/OFS/ObjectManager.py
modified:   src/Testing/ZopeTestCase/testZODBCompat.py
new file:   src/ZPublisher/http_header_utils.py
new file:   src/ZPublisher/tests/test_http_header_utils.py

* Fix white space

modified:   src/ZPublisher/tests/test_http_header_utils.py

* Implement custom code for header creation

The ZPL does not allow to vendor third party code except the original
author would sign the contributor agreement.

As this is not realistic in this case, a custom solution was implemented
to handle non-latin-1 compatible headers.

modified:   src/OFS/ObjectManager.py
modified:   src/ZPublisher/http_header_utils.py
modified:   src/ZPublisher/tests/test_http_header_utils.py

* Update year

modified:   src/ZPublisher/tests/test_http_header_utils.py

* Use `us-ascii` encoding for the content-disposition header

modified:   src/Testing/ZopeTestCase/testZODBCompat.py
modified:   src/ZPublisher/http_header_utils.py
modified:   src/ZPublisher/tests/test_http_header_utils.py

* Move `make_content_disposition` into `HTTPResponse` module

modified:   src/OFS/ObjectManager.py
modified:   src/ZPublisher/HTTPResponse.py
deleted:    src/ZPublisher/http_header_utils.py
modified:   src/ZPublisher/tests/testHTTPResponse.py
deleted:    src/ZPublisher/tests/test_http_header_utils.py

Co-authored-by: Jens Vagelpohl <jens@netz.ooo>

4044 of 6762 branches covered (59.8%)

Branch coverage included in aggregate %.

26017 of 30691 relevant lines covered (84.77%)

4.22 hits per line

Jobs
ID Job ID Ran Files Coverage
2 4179.2 (TOXENV=py27) 30 Sep 2020 11:45AM UTC 0
79.81
Travis Job 4179.2
3 4179.3 (TOXENV=py35) 30 Sep 2020 11:46AM UTC 0
79.86
Travis Job 4179.3
4 4179.4 (TOXENV=py36) 30 Sep 2020 11:45AM UTC 0
79.86
Travis Job 4179.4
5 4179.5 (TOXENV=py37) 30 Sep 2020 11:47AM UTC 0
79.85
Travis Job 4179.5
6 4179.6 (TOXENV=py38) 30 Sep 2020 11:48AM UTC 0
79.97
Travis Job 4179.6
Source Files on build 4179
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4179
  • 6b572a2f on github
  • Prev Build on 4.x (#4171)
  • Next Build on 4.x (#4180)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc