-
Notifications
You must be signed in to change notification settings - Fork 27
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
Can't use googleapis as ( now terminates a URL #1054
Comments
You are aware that Google Chrome shows that URL as https://www.youtube.com/?test=%28snippet%3D1%29, right? |
I've said before and will say again, that we need a single location that pulls together all the thinking on rules for URL!. I cannot hold it all in my head, and I need an overview and design writeup that explains the history so far, the desired properties, etc. etc. Problems come up so frequently that it's clear people are passionate about it, but not quite passionate enough to write a start-to-finish manifesto that covers ALL the bases. Folks seem to spot the thing that's bothering them that day and ask for it to be addressed in a way that helps with the inconvenience they're having right now. But what we can tell about this situation is that a piecemeal solution will give piecemeal results...that are ultimately unsatisfactory and require constant revisitation. This issue and the last one have been about the legality of unescaped non-ASCII delimiters, which seems a messy topic: Other things that I can pull to mind about this issue are:
(Note: The above mechanic is implemented in FILE-TO-LOCAL and LOCAL-TO-FILE, I don't know how many people have noticed...but it won't let you say LOCAL-TO-FILE on a FILE! by default...) There are some parts. But we need a whole design that can be executed on in the codebase. I don't even really have much feedback about how the modification @rgchris requested of treating URLs "as-is" has been working out or not...but we have been running with it for a while. We also need complete tests as a spec for what the code should do. If Red has tests for URL scanning then someone should dig those up as well, to examine for reasoning and differences. |
Ah, it looks like I have to encode both ( and ) for
https://www.googleapis.com/youtube/v3/videos?part=snippet&id={YOUTUBE_VIDEO_ID}&fields=items(id%2Csnippet)&key={YOUR_API_KEY}
otherwise rebol barfs with
** Syntax Error: invalid "word" -- "id%2Csnippet"
** Where: transcode if load trap ext-console-impl entrap console
** Near: (line 1)
https://www.googleapis.com/youtube/v3/videos?part=snippet&id={YOUTUBE_VIDEO_ID}&fields=items(id%2Csnippet)&key={YOUR_API_KEY}
…On Sat, 29 Feb 2020 at 01:56, Mark-hi ***@***.***> wrote:
You are aware that Google Chrome shows that URL as
https://www.youtube.com/?test=%28snippet%3D1%29, right?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1054?email_source=notifications&email_token=AABR4QSO35YVUXM7GIXCETTRFECW3A5CNFSM4K5KG7O2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENINRSI#issuecomment-592500937>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABR4QX5JPDXOZH5TK3GO4DRFECW3ANCNFSM4K5KG7OQ>
.
--
Graham Chiu
|
The text was updated successfully, but these errors were encountered: