We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
amphtml の URL がおかしいと気付きました。日記の個別ページなのに(トップページでもないのに) https://example.net/diary/?plugin=amp というURLになっています。
https://example.net/diary/?plugin=amp
調べたところ、URI#join の query string の扱いの仕様のようでした。
URI#join
まちゅダイアリーのように /YYYYMMDD.html なtDiaryであれば
URI.join( URI("https://example.net/diary/20190101.html"), '?plugin=amp') # #<URI::HTTPS https://example.net/diary/20190101.html?plugin=amp>
となるのですが、うちのように /?date=YYYYMMDD なtDiaryだと
/?date=YYYYMMDD
URI.join( URI("https://example.net/diary/?date=20190101"), '?plugin=amp') # #<URI::HTTPS https://example.net/diary/?plugin=amp>
となってしまいます。後ほどPRを作成してみます。
The text was updated successfully, but these errors were encountered:
#614 でマージされたので閉じます。
Sorry, something went wrong.
No branches or pull requests
amphtml の URL がおかしいと気付きました。日記の個別ページなのに(トップページでもないのに)
https://example.net/diary/?plugin=amp
というURLになっています。調べたところ、
URI#join
の query string の扱いの仕様のようでした。まちゅダイアリーのように /YYYYMMDD.html なtDiaryであれば
となるのですが、うちのように
/?date=YYYYMMDD
なtDiaryだととなってしまいます。後ほどPRを作成してみます。
The text was updated successfully, but these errors were encountered: