developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 14 years ago

Closed 14 years ago

#127 closed bug (fixed)

Headers http non envoyés avant une redirection

Reported by: bballizlife Owned by: laurentj
Priority: normal Milestone: Jelix 1.0beta2
Component: jelix:core response Version: 1.0 beta1
Severity: major Keywords:
Cc: Blocked By:
Blocking: Documentation needed:
Hosting Provider: Php version:

Description

Dans la méthode output() des objets jResponseRedirect et jResponseRedirectUrl, il n'y a pas d'appel à sendHttpHeaders(). Du coup il n'est pas possible de spécifier un code réponse http adapté lors de la redirection.

Attachments (2)

ticket_127-bballizlife-1.diff (637 bytes) - added by bballizlife 14 years ago.
Patch pour jResponseRedirect (ajout de sendHttpHeaders() avant de rediriger)
ticket_127-bballizlife-2.diff (645 bytes) - added by bballizlife 14 years ago.
Patch pour jResponseRedirectUrl (ajout de sendHttpHeaders avant de rediriger)

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by bballizlife

Patch pour jResponseRedirect (ajout de sendHttpHeaders() avant de rediriger)

Changed 14 years ago by bballizlife

Patch pour jResponseRedirectUrl (ajout de sendHttpHeaders avant de rediriger)

comment:1 Changed 14 years ago by laurentj

Ok pour le commit

comment:2 Changed 14 years ago by laurentj

  • Resolution set to fixed
  • Status changed from new to closed

commité

Note: See TracTickets for help on using tickets.