Ticket #288 (closed 不具合: fixed)

Opened 18 months ago

Last modified 17 months ago

443以外のポートでSSLを使っている場合にリダイレクション先のURIスキームがhttpになる

Reported by: iteman Owned by: iteman
Priority: major Milestone: 1.7.0
Component: 01: Piece_Unity Version: 1.0
Keywords: Cc:
Blocking: Blocked By:

Description

ssl環境での利用方法 - Piece Framework Users (ja) | Google グループ

443ポート以外のSSL接続で利用する場合の設定方法はありますでしょうか? 8443ポートなどで利用したいのです。 Piece_Unity_URLやPiece_Unity_URIを直接書き換えても、 Piece_Unity_Servise_Authenticationでリダイレクトするときに プロトコルがhttpとなってしまいます。

Piece_Unity_URIと、Piece_Unity_Plugin_Interceptor_Authenticationクラスの サーバーポートを判定する箇所で、 $_SERVER['SERVER_PORT'] != 443 を substr($_SERVER['SERVER_PORT'],-3) != 443 に変更して出来ました。

Change History

Changed 18 months ago by iteman

  • summary changed from 443以外のポートでSSLのURIが利用できない to 443以外のポートでSSLを使っている場合にリダイレクション先のURIスキームがhttpになる

Changed 18 months ago by iteman

  • milestone set to 1.6.3

Changed 17 months ago by iteman

  • status changed from new to assigned

Changed 17 months ago by iteman

  • status changed from assigned to closed
  • resolution set to fixed

Changed 17 months ago by iteman

  • version changed from The Latest Version to 1.0 branch
Note: See TracTickets for help on using tickets.