Zend Framework

The Zend_Rest_Server only accepts UTF-8 like XML response in the functions _handleStruct / _handleScalar

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.0.1
  • Fix Version/s: 1.5.2
  • Component/s: Zend_Rest_Server
  • Labels:
    None
  • Fix Version Priority:
    Should Have

Description

The Zend_Rest_Server have two functions for the default management of return vales (_handleStruct and _handleScalar) but the functions had hardcoded the encoding of the DomDocument (UTF-8), this issue can be resolved with a simple propiety (var $_encoding) and simple access methods (maybe getResponseEncoding and setResponseEncoding).

It's my first report, so, I don't know how works the community and who say what user resolve the issue, but if it is no problem i can send a patch.

Activity

Hide
Darby Felton added a comment -

Assigning to Matthew Weier O'Phinney to initiate issue review.

Show
Darby Felton added a comment - Assigning to Matthew Weier O'Phinney to initiate issue review.
Hide
Matthew Weier O'Phinney added a comment -

Tentatively scheduling for 1.1.0

Show
Matthew Weier O'Phinney added a comment - Tentatively scheduling for 1.1.0
Hide
Wil Sinclair added a comment -

This doesn't appear to have been fixed in 1.5.0. Please update if this is not correct.

Show
Wil Sinclair added a comment - This doesn't appear to have been fixed in 1.5.0. Please update if this is not correct.
Hide
Mahomedalid Pacheco added a comment -

Can I fix it?

Show
Mahomedalid Pacheco added a comment - Can I fix it?
Hide
Matthew Weier O'Phinney added a comment -

Scheduling for next mini release.

Show
Matthew Weier O'Phinney added a comment - Scheduling for next mini release.
Hide
Matthew Weier O'Phinney added a comment -

Encoding accessors added in trunk and the 1.5 release branch as of r9376.

Show
Matthew Weier O'Phinney added a comment - Encoding accessors added in trunk and the 1.5 release branch as of r9376.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
30m
Original Estimate - 30 minutes
Remaining:
30m
Remaining Estimate - 30 minutes
Logged:
Not Specified
Time Spent - Not Specified