Comments (7)
Additionally, this hotfix prevents the occurrence of strange error messages:
Category: HTML_PARSING_ERROR
Message: In the start tag <y> found invalid characters.
File: /
Line number: 2
Column number: 41
Source fragment:
Line 1: ������`�I�%&/m�{�J�J��t���`�$ؐ@��������iG#)�*��eVe]f�@�흼��{���{���;�N'���?\fd�l��J�ɞ!����…
Line 2: ��4-��� ��2r�G�!搱R����<^f1�����8,���F��Fn ��wP�z�W����I�� ��_�
------------------------------------------------^
Line 3: �.����������[�y|7N��[v?������ԅ�v�+�YN5̝g��g~k���� ����u��⨒����x����*xL��F���}Q͊�봝�M��U��y�V�O�…
Now, instead of it, displays a more understandable error messages:
Can not apply markup minification to text content, that was encoded in the 'gzip' format.
from webmarkupmin.
Hello, Sarif!
I recommend you to read the “At what point in the run-time process does IIS compress output?” discussion on Stack Overflow.
from webmarkupmin.
Hello, Kudoz83!
In WebMarkupMin 2.2.0 fixed this error.
Thanks for information!
from webmarkupmin.
hi i get error
Can not apply markup minification to text content, that was encoded in the 'gzip' format.
in azure but work fine in my local server, i use 2.2.2 version in my mvc app <package id="WebMarkupMin.AspNet4.Mvc" version="2.2.2" targetFramework="net462" />
please help
from webmarkupmin.
Hello, Sarif!
You deleted own post? Perhaps you have had a problem with the quotes?
from webmarkupmin.
yes i deleted it,. it already working ,. i add
dynamicCompressionBeforeCache="false"
in my web config i just wondering is it possible to handle it from code,.
is it possible to implement compression in json response,. ?
from webmarkupmin.
is it possible to implement compression in json response,. ?
@5arif Add a CompressContent
attribute to the action method, that returns JSON data.
Also I recommend you to upgrade to version 2.4.0 (there were solved many problems related with HTTP compression).
from webmarkupmin.
Related Issues (20)
- InvalidOperationException: Can not apply markup minification to text content, that was encoded in the 'gzip' format. HOT 4
- Internal html character being escaped HOT 4
- MarkupParsingException without log HOT 4
- Can't minify multiple documents in parallel? HOT 1
- .Net 6 Support? HOT 5
- Support Razor Pages HOT 10
- WebMarkupMin to minify javascript from string? HOT 1
- 🏆🗳 WebMarkupMin participates in the competition of open source projects 🗳🏆 HOT 2
- Blank page response HOT 8
- License, compatibility with BSD HOT 3
- Minification breaks down all my page javascript? HOT 5
- No minify anything HOT 2
- problem dont use Quotes in Html Attribute HOT 2
- [WebMarkupMin.AspNetCore5] Sometimes a blank page is returned as the request has no response data available HOT 30
- Minified attributes seem to be double encoded HOT 4
- More a question, not an "issue" HOT 9
- .NET 7 broke BrotliCompressor due to invalid compression levels HOT 4
- ArgumentNullException: Value cannot be null. (Parameter 'destination') HOT 4
- Hmmm… can't reach this page It looks like the webpage HOT 1
- object ref error with WebMarkupMin.AspNetCore7. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webmarkupmin.