I'm using BibDesk on Mac to manage my bibliography, and I use the phjcp bibstyle (to have small caps & unsorted refs).
The thing is : I have very long titles and url to display, and the problems begin : the text of the entry is justified, and not flush to left (as it should be). You can see the difference on the picture between [1] and [2]. I only have that for long citations, and it's kind of awful.

Moreover, I tried to isolate the problem by making one long citation, the[4], and it didn't apprear !
Can you help me ? Here is my biblio.bibfile :
%% This BibTeX bibliography file was created using BibDesk.
@comment{x-kbibtex-personnameformatting=<%l><, %f>}
@book{pbkdf,
Author = {{Wikip{\'e}dia}},
Date-Added = {2015-09-24 12:03:46 +0000},
Date-Modified = {2015-09-25 08:25:58 +0000},
Lastchecked = {Octobre},
Publisher = {\url{https://en.wikipedia.org/wiki/small_titls}},
Title = {Small Title},
Year = {consult{\'e} en octobre 2015}}
@book{secuhash,
Author = {Gilbert,Henri and Handschuh, Helena},
Date-Added = {2015-09-24 09:27:15 +0000},
Date-Modified = {2015-09-24 09:33:47 +0000},
Pages = {175--193},
Publisher = {Springer-Verlag},
Series = {Lecture Notes in Computer Science},
Title = {Security analysis of SHA-256 and sisters},
Volume = {3006},
Year = {2003}}
@book{test,
Author = {Wikipedia, Jack, and Wikipedia, John},
Date-Added = {2015-09-24 06:47:35 +0000},
Date-Modified = {2015-09-25 08:29:03 +0000},
Publisher = {\url{super/long/url/with/a/lot/of/weird/things/in/it}},
Series = {SP 800-38D},
Title = {Very long title because it is a name of a very specific article (with abbreviations) and many otherthings that make it take more than one line},
Year = {2019, visited online on March 21, 2045}}
@book{justify,
Author = {McGrew, David and Viega,John},
Date-Added = {2015-09-23 15:29:41 +0000},
Date-Modified = {2015-09-24 08:21:29 +0000},
Month = {Mai},
Publisher = {\url{https://globaljournals.org/GJCST_Volume13/4-A-Study-of-Encryption-Algorithms.pdf}},
Title = {The Security and Performance of the Galois/Counter Mode (GCM) of Operation},
Year = {2005, consult{\'e} en octobre 2015}}
I use a book entry for these kind of articles because they are ony online, and I want this formatting (I tried create a new bibstyle, but it didn't work).
Info : I use the url package, and the geometry package :
\usepackage[top=2cm,bottom=2.5cm,left=2.5cm,right=2.5cm]{geometry}



\usepackage{url}added? – Sep 25 '15 at 08:53url. See answer http://tex.stackexchange.com/questions/3033/forcing-linebreaks-in-url. – Zarko Sep 25 '15 at 08:57.texfile yes. With thehyphensoptions. – 3isenHeim Sep 25 '15 at 08:57\usepackage{url}in the preamble, the URL is split at the slash beforeGJCST. However, the line width seems different from yours, so you should add also information about the formatting parameters. – egreg Sep 25 '15 at 09:16titledisplay. That produces big spaces... – 3isenHeim Sep 25 '15 at 09:34