Hi there,

I have clean url's enable and encounter a lot of trouble with the ampersand in front of 'type=nodetype'. instead of %26 (urlencoding for &) i get %2526 which seems to be coming from the % being translated after the first encoding (compare http://drupal.org/node/119876).
any ideas of how I could get rid of this? would it be possible to get a solution for this into the module?

cheers, Peter.

Comments

nancydru’s picture

Assigned: Unassigned » nancydru

I'll have to see I can do anything.

nancydru’s picture

Status: Active » Postponed (maintainer needs more info)

I've been looking at this off and on, and it finally dawned on me that this is not the fault on NTF. The problem lies with who ever is using it and producing the URL. And, BTW, all my modules use a question mark ("?") before the "type=", an it is not encoded.

peterzoe’s picture

Nancy, I think you're perfectly right, this is not a NTF fault. I was just wondering how others get along with this issue. I found a workaround in using absolute (and not relative) paths calling up NTF but from my point of view this is not really nice.
I also tried to use the '?' (among other trials) upfront, but it didn't help for me (with clean url enabled).
Don't you encouter this problem at all? what do you do differently than me?

nancydru’s picture

I tried it with Taxonomy Browser and no, the = did not get converted -- but the comma between terms did.

BTW, TB invokes it like this:

return array('taxonomy/term/'. $str_tids, 'type='. $node_type);
nancydru’s picture

The Drupal powers-that-be seem to think this is not an issue. http://drupal.org/node/272962

nancydru’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)