Bug Hunting: Busy.org - Loading concern on a non-existing page
After @busy.org released their version 2 on public beta, I started checking @steemit posts using it. There are features on @busy.org which I loved. This includes bookmarks, post drafts, easy-to-use markdown, recommended post, etc. Their user interface is intuitive and their theme is simple yet smart.
While navigating pages from @busy.org, I found a concern on non-existing pages. I was trying to view post related to the submitted contest entries from a user.
Notice that the recommended posts have been loaded but the main page is not. A spinner icon is visible which means that the application is trying to load the page. I've checked the user page and found no such post.
Another scenario I've observed is when I tried to load #photography posts from tag by navigating to url - https://busy.org/photography. I forgot to add post type (trending, created, hot, promoted). Notice that the direct url has no post type on it.
It tried to load the page by using the photography keyword as a sort condition then a blank screen was shown after.
I have checked the same scenario on @steemit and found out that system has its own 404 ErrorDocument (page not found, ErrorDocument - apache directive).
I also tried to load a non-existing post on steemit.
How to replicate concern
- Login to busy.org
- On browser search bar, navigate to a non-existing page.
i.e https://busy.org/photography - Press enter to load the page.
- Observe/check the output.
Suggestion
Set a 404 error page for busy.org.
I don't think their web server is apache but I want to share how to set the ErrorDocument by following steps below:
- Edit the apache config using any text/system edit. In this case, I've used my favorite Unix editor - vim
vim /etc/httpd/conf/httpd.conf
- Look for the ErrorDocument directive by typing / character then the ErrorDocument keyword (/ErrorDocument). Press
Enter
- Set the ErrorDocument page by uncommenting this line (removing #):
ErrorDocument 404 /missing.html
- Save changes by pressing
:wq
andEnter
key
Make sure the specified page exists. - Restart apache for the changes to take effect.
service httpd restart
- Test by navigating to a non-existing page.
Test Environment
* | Details |
---|---|
Operating System | Windows 10 |
Browser | Google Chrome (Version 62.0.3202.89) |
Posted on Utopian.io - Rewarding Open Source Contributors
Hey @wens I am @utopian-io. I have just upvoted you at 15% Power!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
thank you @utopian-io for the gift.
And yeah, I don't think the use a apache according to the behavior of the webpage.
I don't really can tell what they use since they're behind cloudflare:
PORT STATE SERVICE VERSION
21/tcp open ftp?
80/tcp open http Cloudflare nginx
110/tcp open pop3?
113/tcp closed ident
143/tcp open imap?
443/tcp open ssl/http Cloudflare nginx
3128/tcp open squid-http?
8008/tcp open http Fortinet FortiGuard block page
8080/tcp open http-proxy?
Service Info: Device: security-misc
hey @rockz. yeah, tried to check their open ports using nmap after i've posted this concern. their web server could be nginx.
Hehe really cool that you take the time to hunt bugs for them ;)
Happy hunting!
just found it today, accidentally ;))
thanks for sharing and pls upvote me.
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
thank you @favcau for taking time checking this concern.