I have an ASP.Net MVC application that compiles dormant files into CSS. In the specific case, if I hit my endpoint
Http: /// account / ResetPassword t = eyJ0eXAiOiJKV1Qi ...
a query string results in a compilation failure warning
directive block with unrecognised format on line 1 in file '~/Content/packageForm.less': []: /beginning of file [1]: @t: eyJ0eXAiOiJKV1Qi...; ^ [2]: @import "setup.less"; directive block with unrecognised format on line 1 in file '~/Content/packageForm.less': []: /beginning of file [1]: @t: eyJ0eXAiOiJKV1Qi...; ^ [2]: @import "setup.less"; directive block with unrecognised format on line 1 in file '~/Content/IE.less': []: /beginning of file [1]: @t: eyJ0eXAiOiJKV1Qi...; ^ [2]:
If I remove the query string parameter "t", compilation errors will not occur.
Anyone have a solution?
Thanks,
Pavel.
css less asp.net-mvc
Paul houlston
source share