-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Misleading error message: The URL 'xxx' is missing 1 slash(es) '/' after the protocol #1034
Comments
Reading through these again. "Nothing to do with the number of slashes" an exaggeration. I assumed that it was flagging the |
Only https: // protocol in URL? If so, this will give rise to distress for writers and customers.
N. Erhan Uzumcu
Art Director and EPUB Designer
… On Apr 4, 2019, at 8:28 PM, Naomi Kennedy ***@***.***> wrote:
Reading through these again. "Nothing to do with the number of slashes" an exaggeration. I assumed that it was flagging the –, but seems like it's not. Feel free to close this as invalid.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#1034 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AGmy-nO_DN5ZLkx8tmY_eA8iQr1ugFOhks5vdjZCgaJpZM4cdQ90>.
|
It's definitely a bug, though, as the URIs are invalid. It's just not a problem with the number of slashes, but that must be a result of not being able to parse the URI correctly. |
Yeah the URIs are invalid indeed, but the message is definitely confusing. Sorry I didn't catch that when reviewing #731. In that PR, I had originally proposed What about a more generic: @tofi86 do you think it is too late a change for the translations? |
or |
no problem, we can find a better cmessage for sure. However, I'm not sure why Java isn't correctly identifying the |
New report from a pagina EPUB-Checker user:
It seems that URL's ending with a ) are invalid URL's but the parser reports it as another issue. |
Thanks 😀 |
This error (RSC-023) is being generated for a variety of invalid URLS. They are all incorrect, but the problem has nothing to do with the number of slashes. I've provided some examples below and included the text of the epubcheck error and a snippet of HTML:
The URL 'http://Medscape.com,November' is missing 1 slash(es) '/' after the protocol 'http:'
<a href="http://Medscape.com,November">Medscape.com,November</a>
The URL 'http://worldmarket.com)painted' is missing 1 slash(es) '/' after the protocol 'http:'
(from <a href="http://worldmarket.com)painted">worldmarket.com</a>)painted in
The URL 'http://HGTV.com’s' is missing 1 slash(es) '/' after the protocol 'http:'
<a href="http://HGTV.com’s">HGTV.com’s</a>
The URL 'http://cronometer.com),I' is missing 1 slash(es) '/' after the protocol 'http:'
(using <a href="http://cronometer.com),I">cronometer.com),</a>
The URL 'http://www.pbs.org/wgbh/amex/till/sfeature/sf_remember.html' is missing 1 slash(es) '/' after the protocol 'http:'
<a class="hlink" href="http://www​.pbs.org/wgbh/amex/till/sfeature/sf_remember.html">http://www​.pbs.org/wgbh/amex/till/sfeature/sf_remember.html</a>
The URL 'http://Protectmarriage.com–Yes' is missing 1 slash(es) '/' after the protocol 'http:'
<a href="http://Protectmarriage.com–Yes">Protectmarriage.com–Yes</a>
The URL 'http://www.youtube.com/watch?v=Wriy3ICfF9U&feature=player_embedded' is missing 1 slash(es) '/' after the protocol 'http:'
<a href="http://​www.​youtube.​com​/watch​?v​=Wriy3ICfF9U​&​feature​=player_embedded​">http://​www.​youtube.​com​/watch​?v​=Wriy3ICfF9U​&​feature​=playe​r_embe​dded</a>
There are a lot of random URLs in our backlist files, let me know if you need more examples!
The text was updated successfully, but these errors were encountered: