Topic: Search - issue with navigational links with SEF and wildcard character

When SEF is enabled and searching using the wildcard character, clicking the navigation links to page to the other results pages generates a 'Bad request' error.

Re: Search - issue with navigational links with SEF and wildcard character

Hmm, I'm not having any problem with it on the dev forum.

Re: Search - issue with navigational links with SEF and wildcard character

Userlist: http://127.0.0.1/punbb13/users/an%2A/-1 … SC/page/2/
Search: http://127.0.0.1/punbb13/search/k/-1/aa … cs/page/2/

Notice the encoding for this partial search on username using wildcard (*an): an%2A and an%

The paging for the userlist is working, but not for search results.

If it is working for you, then I will set it up on a different server and test it out again.

Re: Search - issue with navigational links with SEF and wildcard character

You need to be more clear. I had to re-read your post a few times before I realized that you were talking about wildcards in the author name. wink

Re: Search - issue with navigational links with SEF and wildcard character

Fixed in 1548.

Re: Search - issue with navigational links with SEF and wildcard character

It is failing for 'File based' and 'File based (fancy') SEFs.

Re: Search - issue with navigational links with SEF and wildcard character

It's working fine for me using the revision I mentioned.

Re: Search - issue with navigational links with SEF and wildcard character

I'm using rev 1549. It is working for the other SEFs, but not with 'File based' and 'File based (fancy') SEFs.

Here is a sample URL. Getting the 'Access forbidden' message.
http://127.0.0.1/punbb13/search-k-all-a … cs-p2.html

Re: Search - issue with navigational links with SEF and wildcard character

That URL works absolutely fine for me on the dev forum. hmm
And what "Access forbidden" message?

Re: Search - issue with navigational links with SEF and wildcard character

OK. It must be my setup. I will test it again on a different server. Thanks.

Re: Search - issue with navigational links with SEF and wildcard character

Hmm, we might actually have to change that, it seems that asterisks are a reserved character and need to be properly encoded.

Re: Search - issue with navigational links with SEF and wildcard character

Should be fixed in r1551

Re: Search - issue with navigational links with SEF and wildcard character

It is working on a different server, but not with the local test server using XAMPP. Using r1551.

Re: Search - issue with navigational links with SEF and wildcard character

What's the link you're getting on the XAMPP server and what error are you getting?

Re: Search - issue with navigational links with SEF and wildcard character

http://127.0.0.1/punbb13/search-k-all-a … cs-p2.html

Here is the error page:

Access forbidden!

You don't have permission to access the requested object. It is either read-protected or not readable by the server.

If you think this is a server error, please contact the webmaster.
Error 403
127.0.0.1
03/08/08 11:19:52
Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.3

Re: Search - issue with navigational links with SEF and wildcard character

Mmm, I don't know what the problem could be then. Ask the XAMPP people? Or check the error_log and paste it here? wink

Re: Search - issue with navigational links with SEF and wildcard character

From the error log:

Sat Mar 08 11:22:13 2008] [error] [client 127.0.0.1] (20025)The given path contained wildcard characters: access to /punbb13/search-k-all-ana*-4-DESC--1-topics-p2.html failed, referer: http://127.0.0.1/punbb13/search.html?ac … mit+search