Project

General

Profile

Bug(バグ) #568

URL in registering mail to mobile is wrong (携帯への新規登録メール内のURLが間違っている)

Added by pnetan   almost 14 years ago. Updated over 13 years ago.

Status:
Fixed(完了)
Priority:
Normal(通常)
Target version:
Start date:
2010-02-03
Due date:
% Done:

100%

3.6 で発生するか:
Unknown (未調査)
3.8 で発生するか:
Unknown (未調査)

Description

Overview (現象)

URL in registering mail to mobile is wrong (it doesn't contain host)

携帯への新規登録メール内のURLが間違っている(ホスト名が含まれていない)

Causes (原因)

Request to registring mail is received in the mobile_mail_frontend application. So it doesn't have current host.

Normally, absolute URL to SNS generated by basing current host. But mobile_mail_frontend doesn't know host that should use, so it generates URL that doesn't contain host.

新規登録メールの要求は mobile_mail_frontend アプリケーションが受け付ける。そのため、現在のホスト名を所有していない。

通常、SNS への絶対 URL の生成は現在のホスト名に基づいておこなわれる。しかし mobile_mail_frontend はどのホストを使用するべきか知らないため、ホスト名が含まれない URL を生成してしまう。

Way to fix (修正内容)

Changed opWebRequest::getHost() to return a value of "op_base_url" configuration if the current host is empty.

現在のホスト名が空の場合に opWebRequest::getHost() が op_base_url の設定値を返すように修正した。

Original report (元の報告)

http://sns.openpne.jp/?m=pc&a=page_fh_diary&target_c_diary_id=23472 より転載

携帯からですが、新規登録が動いてないようです。

get@~のアドレスにメールを送ると、登録用のURLつきのメールが戻ってきますが、そのURLが
http:///mobile_frontend.php/~~~~

となっているので、登録できないんです。
おそらく、
http://(ドメイン名)/mobile_frontend.php/
なのでしょうが。 

Related issues

Related to OpenPNE 3 - Backport(バックポート) #1067: URL in registering mail to mobile is wrong (携帯への新規登録メール内のURLが間違っている) Fixed(完了) 2010-02-03
Related to OpenPNE 3 - Backport(バックポート) #1142: URL in registering mail to mobile is wrong (携帯への新規登録メール内のURLが間違っている) Fixed(完了) 2010-02-03

Associated revisions

Revision 84d662c3 (diff)
Added by Kousuke Ebihara over 13 years ago

fixed registring URL from mobile invitation URL is wrong (fixes #568)

History

#1 Updated by Mutsumi Imamura almost 14 years ago

  • Status changed from New(新規) to Pending Fixing(修正待ち)

http://demo3.openpne.jp/ にて現象が再現することを確認しました。
報告通り会員登録用URLのドメイン部分が抜け落ちています。

#2 Updated by Kiwa Sakai over 13 years ago

現時点のOpenPNE公式SNS( OpenPNE 3.5.2-dev )でも発生しています。
修正おねがいします。

#3 Updated by Kousuke Ebihara over 13 years ago

  • Assignee set to Kousuke Ebihara
  • Target version set to OpenPNE 3.5.2
  • % Done changed from 0 to 50

#4 Updated by Kousuke Ebihara over 13 years ago

  • % Done changed from 50 to 0

#5 Updated by Kousuke Ebihara over 13 years ago

  • Subject changed from PNE3デモサイトに携帯からの新規登録ができない to 携帯への新規登録メール内のURLが間違っている

#6 Updated by Kousuke Ebihara over 13 years ago

  • Status changed from Pending Fixing(修正待ち) to Pending Review(レビュー待ち)
  • % Done changed from 0 to 50

更新履歴 84d662c3e2dbc8594f507d419d16b2c3b8ebda40 で適用されました。

#7 Updated by Kousuke Ebihara over 13 years ago

  • Subject changed from 携帯への新規登録メール内のURLが間違っている to URL in registering mail to mobile is wrong (携帯への新規登録メール内のURLが間違っている)

#8 Updated by Kousuke Ebihara over 13 years ago

  • Status changed from Pending Review(レビュー待ち) to Pending Testing(テスト待ち)

#9 Updated by Kiwa Sakai over 13 years ago

  • Status changed from Pending Testing(テスト待ち) to Fixed(完了)
  • % Done changed from 50 to 100

Also available in: Atom PDF