openframeworks / openframeworks/openFrameworks
ofLoadURLAsync Infinity Loop with Special Characters
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
Hi,
I am getting a Infinity Loop when I try to get a URL that contains this char "#" followed by this "$".
For example:
http://localhost/?message=#blah%
http://localhost/?message=#$%
http://localhost/?message=#asdf%
This works:
http://localhost/?message=#%
After calling ofLoadURLAsync, the function keep dispatching the ofNotifyEvent infinitely.
And the domain is never reached...
Actually I can skip this string structure to avoid this problem.
But I think somebody could look at it in certain time.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the ofLoadURLAsync entry point and trace how URLs containing the reported # and $ patterns dispatch ofNotifyEvent. Reproduce with the three failing URLs and the working comparison; done means the request stops looping and reaches the domain without repeated notifications.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100