1

The W3C validation report me this error:

Error: Bad value http://form-integra.seekeo.com/tool-register-form/javascript?site_id=1273912&myCh=2&chIds[]=2&myGender=2-1&theme[login]=0&fb=1&style_id=8417&tracker=GrandeSexoNegro for attribute src on element script: Illegal character in query: not a URL code point.

From line 166, column 1; to line 166, column 230

mulario">↩<script type="text/javascript" src="http://form-integra.seekeo.com/tool-register-form/javascript?sit…Ids[]=2&amp;myGender=2-1&amp;theme[login]=0&amp;fb=1&amp;style_id=8417&amp;tracker=GrandeSexoNegro"></script>

Syntax of URL:
Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20.

But I don´t understand where is the error and how to solve this.

How can fix this?

This is the complete URL:

<div class="elformulario"> 
<script type="text/javascript" src="http://form-integra.seekeo.com/tool-register-form/javascript?site_id=1273912&amp;myCh=2&amp;chIds[]=2&amp;myGender=2-1&amp;theme[login]=0&amp;fb=1&amp;style_id=8417&amp;tracker=GrandeSe xoNegro"></script>
</div>
6
  • 2
    "Illegal character in query" - this tells all. check your url for ilegal characters Commented Sep 25, 2015 at 21:31
  • 1
    where is the "illegal character in query"? Commented Sep 25, 2015 at 21:33
  • 1
    Place URL from src here please. Commented Sep 25, 2015 at 21:35
  • 1
    I edited the main post with the complete url Commented Sep 25, 2015 at 21:36
  • 1
    "...GrandeSe xoNegro" make it URL encoded. Commented Sep 25, 2015 at 21:37

1 Answer 1

2

W3C validator maintainer here. The specific problem in that URL is with the square brackets it contains; the "[" and "]" characters. Those aren’t valid URL code points per the URL Standard.

I plan to get the URL checker in the validator updated to actually report the particular illegal characters it finds in URLs but it will be a while yet before I can get that refinement made.

Anyway the way to fix that URL is to run it through a tool that will percent encode (aka “URL encode“) any characters in the URL that aren’t valid URL code points.

One good online tool for percent-encoding URLs is Eric Meyer’s URL Decoder/Encoder.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.