View Issue Details

IDProjectCategoryView StatusLast Update
0011635Talerexchangepublic2026-07-28 19:37
ReporterFlorian Dold Assigned ToFlorian Dold  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Target Version1.6 
Summary0011635: exchange's /terms should not return PDF by default
DescriptionInstead, the text or markdown/rst should be the default.
Steps To Reproduce$ curl -i https://exchange.stage.taler-ops.ch/terms
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 15 Jul 2026 16:43:16 GMT
Content-Type: application/pdf
Content-Length: 32705
Connection: keep-alive
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: *
Expires: Thu, 16 Jul 2026 16:43:16 GMT
Avail-Languages: en
Vary: Accept-Language,Accept,Accept-Encoding
Cache-Control: public,max-age=864000
ETag: D1XG9A5JSY1Y69TQEVJK3WTRMRXNY0CEGXH4AN52MKTB08TVH650
Taler-Terms-Version: exchange-tos-v0
Content-Language: en
Strict-Transport-Security: max-age=63072000; includeSubDomains; preload

Warning: Binary output can mess up your terminal. Use "--output -" to tell curl to output it to your terminal
Warning: anyway, or consider "--output <FILE>" to save to a file.
TagsNo tags attached.

Activities

Florian Dold

2026-07-28 19:37

manager   ~0029259

commit f99ec17b49f472cacb940f189b59d1cccda858f4
Author: Florian Dold <dold@taler.net>
Date: Tue Jul 28 19:16:31 2026 +0200

    mhd: rank legal document formats when the client has no preference
    
    The list of terms is sorted best-format-first, but the selection loop
    overwrote its candidate on every tie, so the last entry won and /terms
    answered with the PDF instead of the plain-text rendering.
    
    Issue: https://bugs.taler.net/n/11635

Issue History

Date Modified Username Field Change
2026-07-15 18:43 Florian Dold New Issue
2026-07-19 12:04 Christian Grothoff Assigned To => Christian Grothoff
2026-07-19 12:04 Christian Grothoff Status new => confirmed
2026-07-28 19:37 Florian Dold Assigned To Christian Grothoff => Florian Dold
2026-07-28 19:37 Florian Dold Note Added: 0029259
2026-07-28 19:37 Florian Dold Status confirmed => resolved
2026-07-28 19:37 Florian Dold Resolution open => fixed