Can't search IP address #864

Closed
opened 2026-02-04 22:37:03 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @ta8263482 on GitHub (Oct 17, 2018).

Describe the bug
We store networking data in a wiki document, such as IPs. We can't search for IPs in documents, which is quite useful for us.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Go to search bar.
  2. Type in IP address i.e. 192.168.1.1
  3. Hit return and no results are shown

Expected behavior
The search should show pages which contain the IP address. Without the period character the search works.

Your Configuration (please complete the following information):

  • Exact BookStack Version BookStack v0.24.1
  • PHP Version: 7.1
  • Hosting Method (Nginx/Apache/Docker): Apache

Additional context

Originally created by @ta8263482 on GitHub (Oct 17, 2018). **Describe the bug** We store networking data in a wiki document, such as IPs. We can't search for IPs in documents, which is quite useful for us. **Steps To Reproduce** Steps to reproduce the behavior: 1. Go to search bar. 2. Type in IP address i.e. 192.168.1.1 3. Hit return and no results are shown **Expected behavior** The search should show pages which contain the IP address. Without the period character the search works. **Your Configuration (please complete the following information):** - Exact BookStack Version BookStack v0.24.1 - PHP Version: 7.1 - Hosting Method (Nginx/Apache/Docker): Apache **Additional context**
Author
Owner

@matt-ttam commented on GitHub (Oct 20, 2018):

wrap the IP address in double quotes and it will find it eg. "192.168.1.2". I can't see the full stop character in the search filter documentation, but it might be reserved for custom searches

@matt-ttam commented on GitHub (Oct 20, 2018): wrap the IP address in double quotes and it will find it eg. "192.168.1.2". I can't see the full stop character in the search filter documentation, but it might be reserved for custom searches
Author
Owner

@ssddanbrown commented on GitHub (May 18, 2019):

Thanks @matt-ttam for providing an answer to this.

@ssddanbrown commented on GitHub (May 18, 2019): Thanks @matt-ttam for providing an answer to this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#864