Is array syntax using square brackets in URL query strings valid?

The answer is not simple. The following is extracted from section 3.2.2 of RFC 3986 : A host identified by an Internet Protocol literal address, version 6 [RFC3513] or later, is distinguished by enclosing the IP literal within square brackets (“[” and “]”). This is the only place where square bracket characters are allowed in … Read more

Does react-router support relative links?

in react-router v4 relative paths are supported. The history library resolves relative paths ‘just like a browser would’ so that a <Link to=”two” /> or a history.push({ pathname: ‘..’, search: ‘foo=bar’ }); at the url site.com/path/one will redirect to site.com/path/two and site.com/three?foo=bar. However NavLink does not work with relative pathnames because it doesn’t resolve it’s … Read more

Absolute urls, relative urls, and…?

Here are the URL components: http://www.example.com/en/public/img/logo.gif \__/ \_____________/\_____________________/ #1 #2 #3 scheme/protocol host path A URL is called an absolute URL if it begins with the scheme and scheme specific part (here // after http:). Anything else is a relative URL. A URL path is called an absolute URL path if it begins with a … Read more

Difference between URL and URI? [duplicate]

URI: Uniform Resource Identifier (URI) is a string of characters used to identify a name or a resource on the Internet. Such identification enables interaction with representations of the resource over a network (typically the World Wide Web) using specific protocols URL: In computing, a Uniform Resource Locator (URL) is a subset of the Uniform … Read more

What does a dot mean in a URL path?

The path segment . is typically used at the begin of relative path references and are removed during the reference resolution, i.e. the process of resolving a relative URI reference to an absolute URI: The path segments “.” and “..“, also known as dot-segments, are defined for relative reference within the path name hierarchy. They … Read more

Can an “SEO Friendly” url contain a unique ID?

Be careful with allowing a page to render using the same method as Stack overflow. http://stackoverflow.com/questions/820493/random-text-can-cause-problems Black hats can this to cause duplicate content penalty for long tail competitors (trust me). Here are two things you can do to protect yourself from this. HTTP 301 redirect any inbound display url that matches your ID but … Read more

Silex & Twig helpers in custom error pages

This is not a Silex problem (as of now) – Everything works perfectly on my side (Silex 1.2) Did you register the UrlGeneratorServiceProvider in your app ? in web/index.php: $app->register(new Silex\Provider\UrlGeneratorServiceProvider()); And you should really use path() instead of url()in this case : {{ path(‘home’) }}

What is blob in the ?

That is a youtube video with shaka player which plays DASH content without browser plugins using Media Source Extensions. The blob url is generated by createObjectURL. for example: var video = document.querySelector(‘video’); var assetURL = ‘frag_bunny.mp4’; // Need to be specific for Blink regarding codecs // ./mp4info frag_bunny.mp4 | grep Codec var mimeCodec=”video/mp4; codecs=”avc1.42E01E, mp4a.40.2″”; … Read more