Backends can't look at FINAL_CONTENT_TYPE to determine MIME type of job
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
We have a custom cups backend ("thinlocal") that looks at FINAL_CONTENT_TYPE to find out whether the submitted job is application/pdf and if so, take special actions. The PPD for this backend accepts PDF:s directly through this line:
*cupsFilter: "application/pdf 0 -"
However, FINAL_CONTENT_TYPE is always set to printer/thinlocal, so the backend can't possibly determine the input format by looking at the FINAL_CONTENT_TYPE.
This is broken with (at least):
- Ubuntu 14.04 (cups 1.7.2),
- Ubuntu 14.10 (cups 1.7.5)
- Ubuntu 15.04 (cups 2.0.2).
Related bug reports, upstream and elsewhere:
- https:/
- https:/
- https:/
information type: | Public Security → Public |
Looks like the offending patch was imported from Red Hat, where it was later reverted since it never worked properly. Might want to take another look at this.