You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2016/07/06 14:07:00 UTC
[Bug 59810] New: CSS Parser does not support special characters
https://bz.apache.org/bugzilla/show_bug.cgi?id=59810
Bug ID: 59810
Summary: CSS Parser does not support special characters
Product: JMeter
Version: 3.0
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: HTTP
Assignee: issues@jmeter.apache.org
Reporter: sbennet2k@gmail.com
Noticed the following error messages in Jmeter logs:
2016/07/06 16:57:33 ERROR - com.helger.css.parser.ParserCSS30TokenManager:
Illegal character: ?
2016/07/06 16:57:33 ERROR - com.helger.css.parser.ParserCSS30TokenManager:
Illegal character: ?
2016/07/06 16:57:48 ERROR - com.helger.css.parser.ParserCSS30TokenManager:
Illegal character: !
2016/07/06 16:57:48 ERROR - com.helger.css.parser.ParserCSS30TokenManager:
Illegal character: !
The reason seems to be CSS parsing fails when there are special characters such
as ? and !. The special chars ? and ! are used in CSS refs in the application
that I am working on, there may be need for additional special chars support.
E.g. CSS link: <link
href="/html/portlet/journal_content/css/main.css?browserId=other&minifierType=css&languageId=en_EN&b=6110&t=1466582050000"
rel="stylesheet" type="text/css" />
This does not cause the script run to fail but ends up adding many error log
entries to Jmeter log.
Workaround to avoid the error messages: Remove cssParser HTTPResponse parsers
in jmeter.properties
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 59810] CSS Parser does not support special characters
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59810
sbennet2k@gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from sbennet2k@gmail.com ---
Hi,
Apologies. This in fact turns out to be a non-issue.
These css parser warning messages were reported when downloading embedded
resources as part of request corresponding to a script that was created quite a
while ago.
The problem seems to be with the User-Agent value. Updating the User-Agent
value of the HTTP request resolved these warning messages.
Marking ticket as Resolved Invalid.
Cheers!
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 59810] CSS Parser does not support special characters
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59810
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |p.mouawad@ubik-ingenierie.c
| |om
OS| |All
Status|NEW |NEEDINFO
--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hi,
Could you provide the CSS code that contains '!' and '?' ?
Thanks
--
You are receiving this mail because:
You are the assignee for the bug.