mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 18:41:07 +08:00
FIX: store the topic links using the cooked upload url
This commit is contained in:
@ -41,7 +41,7 @@ class Users::OmniauthCallbacksController < ApplicationController
|
||||
if origin.present?
|
||||
parsed = begin
|
||||
URI.parse(origin)
|
||||
rescue URI::InvalidURIError
|
||||
rescue URI::Error
|
||||
end
|
||||
|
||||
if parsed
|
||||
|
Reference in New Issue
Block a user