Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-01-10 14:53:28

e-sven
Archived Plugin Author
From: Berlin, Germany
Registered: 2004-11-12
Posts: 17
Website

Bug-Report URL-Scheme-Parsing

When URL-scheme is “section_id_title” and the url_title is numeric there is a bug in url parsing. Seems like the URL is found to be messy.

Last edited by e-sven (2007-01-10 14:53:54)


Sven
<bc />

Offline

#2 2007-01-11 07:57:57

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Bug-Report URL-Scheme-Parsing

When URL-scheme is “section_id_title” and the url_title is numeric there is a bug in url parsing.

Can you be more specific? I cannot replicate this problem.

Seems like the URL is found to be messy.

What do you mean?

Offline

#3 2007-01-11 11:24:45

e-sven
Archived Plugin Author
From: Berlin, Germany
Registered: 2004-11-12
Posts: 17
Website

Re: Bug-Report URL-Scheme-Parsing

Well, the URL is something like:

http://host/article/123/123

And Textpattern does not show the message, but the index.


Sven
<bc />

Offline

#4 2007-01-11 12:23:09

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Bug-Report URL-Scheme-Parsing

That url would be the correct URL , since that’s what you’ve told it to be.

And, I repeat, it works just fine for me. In my case, for instance:

http://localhost/txp/dev/article/1/1

is the url I have, and it acts the way it normally does, displaying the correct individual article.

You are using 4.0.4?

Offline

#5 2007-01-11 13:16:07

e-sven
Archived Plugin Author
From: Berlin, Germany
Registered: 2004-11-12
Posts: 17
Website

Re: Bug-Report URL-Scheme-Parsing

Yes. Perhaps something is wrong with my setup. Problem is that in file textpattern/publish.php line 203 gives back section “article” and then the check in line 226 says it’s messy. I’ve commented “!$out[‘s’]” out and everything seems to work now.


Sven
<bc />

Offline

#6 2007-01-12 03:57:00

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Bug-Report URL-Scheme-Parsing

Does that url mode (and the others) otherwise work correctly for you (if the url_title is letters, not numbers)?

Offline

Board footer

Powered by FluxBB