RGJ
(Richard - Communiteq)
2018 年2 月 3 日 08:45
1
Saturday morning is always a good moment to research weird problems.
I suddenly see things that I’ve overlooked for a long time.
The image orientation fix seems to be missing in the stable branch.
Can you please, please backport it for 1.9.3 ?
Master:
def initialize(file, filename, opts = {})
@file = file
@filename = (filename || "").gsub(/[^[:print:]]/, "")
@upload = Upload.new(original_filename: @filename, filesize: 0)
@opts = opts
@filesize = @opts[:filesize] if @opts[:external_upload_too_big]
@opts[:validate] = (
if opts[:skip_validations].present?
Stable:
def initialize(file, filename, opts = {})
@file = file
@filename = (filename || "").gsub(/[^[:print:]]/, "")
@upload = Upload.new(original_filename: @filename, filesize: 0)
@opts = opts
@filesize = @opts[:filesize] if @opts[:external_upload_too_big]
@opts[:validate] = (
2 个赞
Sure @zogstrip can you take a look?
2 个赞
RGJ
(Richard - Communiteq)
2018 年2 月 4 日 18:31
4
1 个赞
RGJ
(Richard - Communiteq)
2018 年2 月 16 日 17:03
5
@zogstrip @neil do you have any plans to merge these changes back in to stable ?
Yup. Topic isn’t closed and still is assigned Just haven’t got a chance to do it yet.
4 个赞
RGJ
(Richard - Communiteq)
2018 年5 月 17 日 12:17
7
Would it be possible to merge the image rotation bugfix back into stable before Discourse 2.0 stable is being released? It’s only a single line in upload_creator.rb that is still causing a lot of headaches.
1 个赞
Sorry for the delay. It’s now backported
committed 12:55PM - 17 May 18 UTC
5 个赞
This topic was automatically closed after 3 hours. New replies are no longer allowed.