mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 18:05:08 +08:00
e26437f334
Some Discourse-supported sharing platforms such as Twitter are unable to determine the end of a unicode URL. If you post a URL "https://example.org/t/测试/1" on Twitter, it will be a link of href="https://example.org/t/" If the URL contains any unicode character (usually in the slug part) , it must be urlencoded with encodeURI(url) before being passed to source.generateUrl(link, title), or it will be a malformed URL in the sharing tweet. |
||
---|---|---|
.. | ||
admin | ||
discourse | ||
discourse-common | ||
docs | ||
ember-addons | ||
locales | ||
pretty-text | ||
select-kit | ||
wizard | ||
admin.js.erb | ||
application.js | ||
deprecated.js | ||
discourse-loader.js | ||
discourse-objects.js | ||
discourse.js.es6 | ||
ember_include.js.erb | ||
ember_jquery.js | ||
ember-shim.js | ||
env.js | ||
main_include_admin.js | ||
markdown-it-bundle.js | ||
plugin-third-party.js.erb | ||
plugin.js.erb | ||
polyfills.js | ||
preload-store.js.es6 | ||
pretty-text-bundle.js | ||
service-worker.js.erb | ||
template_include.js.erb | ||
vendor.js | ||
wizard-application.js | ||
wizard-vendor.js |