Jump to content


Photo

Members list furl hungry


Dunno what else to call this.
http://community.inv...bahlol/members/
http://community.inv...bahlol/members/
http://community.inv...bahlol/members/
umm... yeah, seems if you support furls in an app, you cannot have that string in your furl exactly at any part.

Status: Fixed
Version: 3.3.4
Fixed In: 3.4.0


4 Comments

Updating Status to: Confirmed - General
Updating Version to: 3.3.4

To clarify: "members" anywhere within the URL is redirecting to the member list. This won't be just affecting members it will also apply to all furls.
had a client needed this specifically fixed for other reasons... several furl templates here need a look-behind, these specific furl templates will all do this without the ^
'members_status_friends'=> array( 'app'	 => 'members',
		 'allowRedirect' => 0,
		 'out'		 => array( '#app=members(?:&|&)module=profile(?:&|&)section=status(?:&|&)type=friends(&|$)#i', 'statuses/friends/$2' ),
		 'in'		 => array( 'regex' => "#^/statuses/friends#i",
				 'matches' => array( array( 'app' , 'members' ),
					 array( 'section', 'status' ),
					 array( 'module' , 'profile' ),
					 array( 'type' , 'friends' ) ) ) ),

'members_status_all' => array( 'app'	 => 'members',
		 'allowRedirect' => 0,
		 'out'		 => array( '#app=members(?:&|&)module=profile(?:&|&)section=status((?:&|&)type=all)?(&|$)#i', 'statuses/all/$2' ),
		 'in'		 => array( 'regex' => "#^/statuses/all#i",
				 'matches' => array( array( 'app' , 'members' ),
					 array( 'section', 'status' ),
					 array( 'module' , 'profile' ) ) ) ),
	
'members_list' => array(
	 'app' => 'members',
	 'allowRedirect' => 0,
	 'out' => array( '#app=members((&|&)module=list)?#i', 'members/' ),
	 'in' => array(
			 'regex' => "#^/members(/|$|\?)#i",
			 'matches' => array( array( 'app', 'members' ),
				 array( 'module', 'list' ) )
		 )
		 ),
		
'most_liked' => array(
	 'app' => 'members',
	 'allowRedirect' => 0,
	 'out' => array( '#app=members(?:&|&)module=reputation(?:&|&)section=most#i', 'best-content/' ),
	 'in' => array(
			 'regex' => "#^/best-content(/|$|\?)#i",
			 'matches' => array( array( 'app', 'members' ),
				 array( 'module', 'reputation' ),
				 array( 'section', 'most' ) )
		 )
		 ),
Appears to WAI.
Updating Status to: Confirmed - FAO Matt

Probably one for Matt. Has the potential to break things.
Updating Fixed In to: 3.4.0
Updating Status to: Fixed

OI!!!!