Dotclear

Ticket #2246 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

Breadcrumb problème double slash avec FreeUrls

Reported by: iloveticket Owned by: team
Priority: normal Milestone: 2.12
Component: module:core Version: 2.11.2
Severity: normal Keywords:
Cc:

Description

Le problème survient lorsqu'on utilise le plugin FreeUrls? pour enlever le /category/ .

Un lien classique :

ndd.com/category/ma-categorie

deviens alors

ndd.com//ma-categorie

Apparemment c'est la/les lignes Parents cats et Posts cats :

plus particulièrement :

getBase('category')."/".$categories->

lorsque l'on enlever le slash comme suit :

getBase('category')."".$categories->

les liens affichés par le breadcrumb deviennent les bons.

Y a t'il un autre moyen plus propre de régler le soucis ?

Change History

comment:1 Changed 9 years ago by franck

  • Milestone changed from A definir to 2.12

comment:2 Changed 9 years ago by franck <carnet.franck.paul@…>

  • Status changed from new to closed
  • Resolution set to fixed

(In [551c900372c6]) Use getURLFor instead of old getBase function for breadcrumb, thank’s adjaya for the patch, fixes #2246

comment:3 Changed 9 years ago by franck <carnet.franck.paul@…>

(In [1f85f4311dbf]) Use getURLFor instead of old getBase function for breadcrumb, thank’s adjaya for the patch, addresses #2246

comment:4 Changed 9 years ago by franck <carnet.franck.paul@…>

(In [a41094211f3a]) Use getURLFor (fully) instead of old getBase function for breadcrumb, thank’s adjaya for the patch, addresses #2246

Note: See TracTickets for help on using tickets.

Sites map