Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295623

Encoded external URL is broken on render

$
0
0

I'm having a strange issue with a specific URL placed in a menu. The URL I'm trying to use as a menu item is:

https://virginiajobs.peopleadmin.com/postings/search?utf8=%E2%9C%93&quer...

When I create a menu item with that URL, save it, and then try to click on the menu item in the site's menu, the URL is getting changed to:

https://virginiajobs.peopleadmin.com/postings/search?utf8=%E2%9C%93&quer...

It appears as if Drupal is doing the following:

628%5B%5D is getting replaced with 0
693%5B%5D is getting replaced with 1%5B0%5D
627 is getting replaced with 2
696 is getting replaced with 3

I've tried replacing the instances of %5B%5D with [] with no change in the results. I assume the 0, 1, 2, 3 are placeholders Drupal uses internally. I also tried setting up a test redirect to point an internal path to the URL I'm trying to put in the menu, but that gets converted to the incorrect URL shown above as well. So I don't think this is limited to just the menu system


Viewing all articles
Browse latest Browse all 295623


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>