Closed nathandunn closed 5 years ago
Parts are:
[x] loc=scf7180000302113:425429..426136
[x] usda=[gov/apollo/Drosophila%20biarmipes/jbrowse/?loc:scf7180000302113:425429..426136]
FAILS -
addStores=%7B%22url%22%3A%7B%22type%22%3A%22JBrowse%2FStore%2FSeqFeature%2FGFF3%22%2C%22urlTemplate%22%3A%22https%3A%2F%2Fi5k.nal.usda.gov%2Ftraining%2Fwebapp%2Fmedia%2Fblast%2Ftask%2F3733ff81a0ae4ad4a4d795d06110f9d0%2FDbia02082011-genome.fa.gff%22%7D%7D
FaILS addTracks=[{%22label%22:%22BLAST+%20Results%22,%22category%22:%220.%20Reference%20Assembly%22,%22type%22:%22WebApollo/View/Track/DraggableBLASTFeatures%22,%22store%22:%22url%22,%22style%22:{%22renderClassName%22:%22gray-center-30pct%22,%22subfeatureClasses%22:{%22match_part%22:%22blast-match_part%22}}}]
[x] tracks=DNA,Annotations,BLAST+%20Results
[x] highlight=
[x] organism=Drosophila%20biarmipes
[x] clientToken=119857622881828907356&format=null
FYI @childers / @mpoelchau
So good news is that I have VERY specific code to handle bugs in addStores and addTracks.
I am hoping I can detect these versions directly and fix it that way.
Great, thanks for tackling this so quickly!
The best “solution” I found was to add this line in conf/catalina.properties
tomcat.util.http.parser.HttpParser.requestTargetAllow=|{}
From reading this: https://stackoverflow.com/questions/41053653/tomcat-8-is-not-able-to-handle-get-request-with-in-query-parameters
The workaround is to have these be posts or hash the URL params when sending via some common hash.
Even when encoded, the decoded version still seems to come back out.
In tomcat 8.5 / production a target like this:
returns a 400 error because on the backend.