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

zopefoundation / Zope / 4178
82%

Build:
DEFAULT BRANCH: master
Ran 30 Sep 2020 09:31AM UTC
Jobs 4
Files 344
Run time 4min
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
4178

push

travis-ci

web-flow
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>

3913 of 6561 branches covered (59.64%)

Branch coverage included in aggregate %.

25599 of 30020 relevant lines covered (85.27%)

3.41 hits per line

Jobs
ID Job ID Ran Files Coverage
2 4178.2 (TOXENV=py36) 30 Sep 2020 09:31AM UTC 0
80.78
Travis Job 4178.2
3 4178.3 (TOXENV=py37) 30 Sep 2020 09:31AM UTC 0
80.78
Travis Job 4178.3
4 4178.4 (TOXENV=py38) 30 Sep 2020 09:31AM UTC 0
80.91
Travis Job 4178.4
5 4178.5 (TOXENV=py39) 30 Sep 2020 09:34AM UTC 0
80.91
Travis Job 4178.5
Source Files on build 4178
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4178
  • 7574d9d0 on github
  • Prev Build on master (#4166)
  • Next Build on master (#4181)
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