8000 URLs are built incorrectly in some content viewers · Issue #304 · aces/cbrain-plugins-neuro · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
URLs are built incorrectly in some content viewers #304
@prioux

Description

@prioux

I was watching rails logs and saw these lines:

Started GET "/userfiles/5596075/content?content_loader=raw_content&file_name=CAPT0000001_ReconAll%2Fmri%2Fbrain
.finalsurfs.mgz&viewer_userfile_class=MghFile" for xxx.xxx.xxx.xxx at 2025-04-02 16:02:56 -0400
Processing by UserfilesController#content as */*
  Parameters: {"content_loader"=>"raw_content", "amp"=>nil, "file_name"=>"CAPT0000001_ReconAll/mri/brain.finalsurfs
.mgz", "viewer_userfile_class"=>"MghFile", "id"=>"5596075"}

It's obvious that the parameter 'amp' is a mistake because the query parameters contain an HTML-escaped & instead of the actual '&'

I think this is from the the FileCollection viewer maybe?

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0