Ticket #288 (closed 不具合: fixed)
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
Note: See
TracTickets for help on using
tickets.

