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

zopefoundation / Zope / 4178 / 3
82%
master: 82%

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

30 Sep 2020 09:29AM UTC coverage: 80.78% (+0.06%) from 80.725%
TOXENV=py37

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>

4028 of 6654 branches covered (60.54%)

Branch coverage included in aggregate %.

25610 of 30036 relevant lines covered (85.26%)

0.85 hits per line

Source Files on job 4178.3 (TOXENV=py37)
  • Tree
  • List 0
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 2601
  • Travis Job 4178.3
  • 7574d9d0 on github
  • Prev Job for TOXENV=py37 on master (#4166.3)
  • Next Job for TOXENV=py37 on master (#4181.3)
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