| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Looks like query_keywords encodes the url itself so $url was being
double-encoded. Also, next time use URI::Escape instead - looks
better.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This issue started with f3d1bc5f9d86300c42d6a57a9f60bd508bdf9bb4:
Use URI to encode the url for random_search
I'll use this for everything eventually. Before this search terms
like "rocky mountains" would break, also segments, query_keywords
makes it easier.
Now the problem was that query_keywords forms urls like
`?nature+water' which totally makes sense & this is why it's logical
error. I want to form it in `?nature,water' format so first we use
`join' to form `nature,water' & then use URI::Encode to encode it
correctly & then use query_keywords to form $url.
We have to use URI::Encode because otherwise we would end up with same
problem that I tried fixing in
f3d1bc5f9d86300c42d6a57a9f60bd508bdf9bb4. "rocky mountains" would've
been seperated by space.
Now it's all good, every space will be encoded & keywords will be
seperated by `,' which is what Unsplash Source wants.
|
| |
|
| |
|
|
|
|
|
| |
Version numbers in cpanfile are the ones installed on my system, it'll
probably work with old versions too.
|
| |
|
|
|
|
|
| |
cgit doesn't render Org files. My website will still have the html
version.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
I'll use this for everything eventually. Before this search terms like
"rocky mountains" would break, also segments, query_keywords makes it
easier.
|
| |
|
| |
|
|
|