andrewdavey / andrewdavey/cassette

WRONG URLS in generated <script> tags

未關閉
#135 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C#
星號
531
分支
139
PR 合併指標
30 天內沒有已合併 PR

描述

I've found a strange issue which can't be systematically replicate, seems a threading problem.
Fragments of JavaScript are appended to a request controlled by cassette!
This generates a server error (http code 400) caused by invalid characters in url.
Don't know if it comes from cassette or it's a browser problem...
We replicated it only once using Chrome 16.0.912.75
The strange thing is that the "show page source" browser command reveals a well-rendered tag.
But, where do these requests come from??
The JS SEGMENTS appended to the wrong URLS are present in the response of the right request
/_cassette/scriptbundle/Scripts/Bundles/jQuery_1ca926269980eb00875d1d5e2c51a3458d0d2058

these are some wrong requests (taken from IIS log)

GET, /_cassette/scriptbundle/Scripts/Bundles/jQuery_1ca926269980eb00875d1d5e2c51a3458d0d2058/)&&r.html(i)):(r=n(, -,
GET, /_cassette/scriptbundle/Scripts/Bundles/jQuery_1ca926269980eb00875d1d5e2c51a3458d0d2058/)&&f.html(o i( 80
GET /_cassette/scriptbundle/Scripts/Bundles/jQuery_1ca926269980eb00875d1d5e2c51a3458d0d2058/]};u.optgroup=u.option,u.tbody=u.tfoot=u.colgroup=u.caption=u.thead,u.th=u.td,i.support.htmlSerialize||(u._default=[1,

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。