mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
FIX: store the topic links using the cooked upload url
This commit is contained in:
@ -88,7 +88,7 @@ class StaticController < ApplicationController
|
||||
destination = uri.path
|
||||
destination = "#{uri.path}?#{uri.query}" if uri.path =~ /new-topic/ || uri.path =~ /new-message/ || uri.path =~ /user-api-key/
|
||||
end
|
||||
rescue URI::InvalidURIError
|
||||
rescue URI::Error
|
||||
# Do nothing if the URI is invalid
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user