Added possibility to enter urls with fragment and query.